diff --git a/fern/openapi.json b/fern/openapi.json index cef851d4..936b8c59 100644 --- a/fern/openapi.json +++ b/fern/openapi.json @@ -28104,14 +28104,14 @@ "anyOf": [ { "type": "string", - "enum": ["low", "medium", "high"] + "enum": ["low", "medium", "high", "max"] }, { "type": "null" } ], "title": "Effort", - "description": "Effort level for Opus 4.5 model (controls token conservation). Not setting this gives similar performance to 'high'." + "description": "Effort level for supported Anthropic models (controls token spending). 'max' is only available on Opus 4.6. Not setting this gives similar performance to 'high'." }, "strict": { "type": "boolean", diff --git a/letta/schemas/model.py b/letta/schemas/model.py index fa1c14cb..621bd4f0 100644 --- a/letta/schemas/model.py +++ b/letta/schemas/model.py @@ -282,10 +282,10 @@ class AnthropicModelSettings(ModelSettings): description="Soft control for how verbose model output should be, used for GPT-5 models.", ) - # Opus 4.5 effort parameter - effort: Optional[Literal["low", "medium", "high"]] = Field( + # Effort parameter for Opus 4.5, Opus 4.6, and Sonnet 4.6 + effort: Optional[Literal["low", "medium", "high", "max"]] = Field( None, - description="Effort level for Opus 4.5 model (controls token conservation). Not setting this gives similar performance to 'high'.", + description="Effort level for supported Anthropic models (controls token spending). 'max' is only available on Opus 4.6. Not setting this gives similar performance to 'high'.", ) # Anthropic supports strict mode for tool calling - defaults to False