Skip to content

Commit e23d83e

Browse files
committed
fix(llm): copilot provider cannot call tool in parallel
1 parent 8fb93f1 commit e23d83e

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

AgentCrew/app.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -584,7 +584,7 @@ def run_server(
584584
"No LLM API key found. Please set either ANTHROPIC_API_KEY, GEMINI_API_KEY, OPENAI_API_KEY, GROQ_API_KEY, or DEEPINFRA_API_KEY"
585585
)
586586

587-
services = self.setup_services(provider, memory_llm)
587+
services = self.setup_services(provider, memory_llm, need_memory=False)
588588

589589
if mcp_config:
590590
os.environ["MCP_CONFIG_PATH"] = mcp_config

AgentCrew/modules/custom_llm/service.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,6 @@ async def stream_assistant_response(self, messages):
116116

117117
stream_params = {
118118
"model": self.model,
119-
"parallel_tool_calls": False,
120119
"messages": messages,
121120
# "max_tokens": 16000,
122121
}

0 commit comments

Comments
 (0)