Skip to content

Commit 788841c

Browse files
committed
fix: build params lose
1 parent 38a2bb3 commit 788841c

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

src/services/openaiService.ts

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -672,8 +672,16 @@ export function* createChatCompletionStream(
672672
* 这个函数处理tool call执行后的第二阶段流式响应
673673
*/
674674
export function* createToolCallResponseStream(
675-
request: ChatCompletionRequest
675+
request: ChatCompletionRequest,
676+
toolMessageId: string,
677+
toolMessageContent: string
676678
): Generator<string, void, unknown> {
679+
console.log(
680+
"createToolCallResponseStream",
681+
request,
682+
toolMessageId,
683+
toolMessageContent
684+
);
677685
// Validate model
678686
const model = findModelById(request.model);
679687
if (!model || model.type !== "tool-calls") {

0 commit comments

Comments
 (0)