mirror of
https://github.com/BerriAI/litellm.git
synced 2026-10-10 03:28:53 +00:00
Add output_config as supported param
This commit is contained in:
parent
4f96a3b126
commit
1b2278951d
2 changed files with 2 additions and 0 deletions
|
|
@ -46,6 +46,7 @@ class AnthropicMessagesConfig(BaseAnthropicMessagesConfig):
|
|||
"thinking",
|
||||
"context_management",
|
||||
"output_format",
|
||||
"output_config",
|
||||
# TODO: Add Anthropic `metadata` support
|
||||
# "metadata",
|
||||
]
|
||||
|
|
|
|||
|
|
@ -360,6 +360,7 @@ class AnthropicMessagesRequestOptionalParams(TypedDict, total=False):
|
|||
context_management: Optional[Dict[str, Any]]
|
||||
container: Optional[Dict[str, Any]] # Container config with skills for code execution
|
||||
output_format: Optional[AnthropicOutputSchema] # Structured outputs support
|
||||
output_config: Optional[AnthropicOutputConfig] # Configuration for Claude's output behavior
|
||||
|
||||
|
||||
class AnthropicMessagesRequest(AnthropicMessagesRequestOptionalParams, total=False):
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue