We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 38a2bb3 commit 788841cCopy full SHA for 788841c
src/services/openaiService.ts
@@ -672,8 +672,16 @@ export function* createChatCompletionStream(
672
* 这个函数处理tool call执行后的第二阶段流式响应
673
*/
674
export function* createToolCallResponseStream(
675
- request: ChatCompletionRequest
+ request: ChatCompletionRequest,
676
+ toolMessageId: string,
677
+ toolMessageContent: string
678
): Generator<string, void, unknown> {
679
+ console.log(
680
+ "createToolCallResponseStream",
681
+ request,
682
+ toolMessageId,
683
+ toolMessageContent
684
+ );
685
// Validate model
686
const model = findModelById(request.model);
687
if (!model || model.type !== "tool-calls") {
0 commit comments