mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-16 23:41:43 +00:00
The compact beta feature is not currently supported on the Converse and ConverseStream APIs
This commit is contained in:
parent
fe26e0d01e
commit
6ab57d82f2
1 changed files with 8 additions and 0 deletions
|
|
@ -77,6 +77,14 @@ BEDROCK_COMPUTER_USE_TOOLS = [
|
|||
"text_editor_",
|
||||
]
|
||||
|
||||
# Beta header patterns that are not supported by Bedrock Converse API
|
||||
# These will be filtered out to prevent errors
|
||||
UNSUPPORTED_BEDROCK_CONVERSE_BETA_PATTERNS = [
|
||||
"advanced-tool-use", # Bedrock Converse doesn't support advanced-tool-use beta headers
|
||||
"prompt-caching", # Prompt caching not supported in Converse API
|
||||
"compact-2026-01-12", # The compact beta feature is not currently supported on the Converse and ConverseStream APIs
|
||||
]
|
||||
|
||||
|
||||
class AmazonConverseConfig(BaseConfig):
|
||||
"""
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue