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.

fix(core): include effort in AnthropicModelSettings returned by _to_model_settings() (#9543)

Charles Packer044241daec85
diff --git a/letta/schemas/llm_config.py b/letta/schemas/llm_config.py
index 78a43a5c8..114cd99ed 100644
--- a/letta/schemas/llm_config.py
+++ b/letta/schemas/llm_config.py
@@ -360,6 +360,7 @@ class LLMConfig(BaseModel):
thinking=AnthropicThinking(type=thinking_type, budget_tokens=self.max_reasoning_tokens or 1024),
verbosity=self.verbosity,
strict=self.strict,
+ effort=self.effort,
)
elif self.model_endpoint_type == "google_ai":
return GoogleAIModelSettings(