diff --git a/src/libs/agent-runtime/qwen/index.ts b/src/libs/agent-runtime/qwen/index.ts index 694d0a532c22..071be09848d5 100644 --- a/src/libs/agent-runtime/qwen/index.ts +++ b/src/libs/agent-runtime/qwen/index.ts @@ -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,