💄 style: add parallel_tool_calls support for Qwen (#5584)

This commit is contained in:
Zhijie He
2025-01-25 11:53:33 +08:00
committed by GitHub
parent 02b91a5f76
commit b89aeebe13
+3
View File
@@ -60,6 +60,9 @@ export const LobeQwenAI = LobeOpenAICompatibleFactory({
search_strategy: process.env.QWEN_SEARCH_STRATEGY || 'standard', // standard or pro
}
}),
...(payload.tools && {
parallel_tool_calls: true,
}),
} as any;
},
handleStream: QwenAIStream,