Skip to content

armgit / letta

Public Imported from GitHub
0

Platform for stateful agents: AI with advanced memory that can learn and self-improve over time.

feat: support parallel tool calling in openai proxies (#9879)

cthomas2c4a6c5e1d8a
diff --git a/letta/llm_api/openai_client.py b/letta/llm_api/openai_client.py
index 32fcfe078..1fbd5595d 100644
--- a/letta/llm_api/openai_client.py
+++ b/letta/llm_api/openai_client.py
@@ -596,7 +596,7 @@ class OpenAIClient(LLMClientBase):
data.top_logprobs = llm_config.top_logprobs
if tools and supports_parallel_tool_calling(model):
- data.parallel_tool_calls = False
+ data.parallel_tool_calls = llm_config.parallel_tool_calls
# Add response_format support for structured outputs
if hasattr(llm_config, "response_format") and llm_config.response_format is not None: