mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-27 11:43:54 +00:00
extra headers
This commit is contained in:
parent
872ff6176d
commit
0c0780be83
4 changed files with 21 additions and 6 deletions
|
@ -5146,7 +5146,7 @@ def get_supported_openai_params(model: str, custom_llm_provider: str):
|
|||
"""
|
||||
if custom_llm_provider == "bedrock":
|
||||
if model.startswith("anthropic.claude-3"):
|
||||
return litellm.AmazonAnthropicClaude3Config().get_supported_openai_params()
|
||||
return litellm.AmazonAnthropicClaude3Config().get_supported_openai_params() + ["extra_headers"]
|
||||
elif model.startswith("anthropic"):
|
||||
return litellm.AmazonAnthropicConfig().get_supported_openai_params()
|
||||
elif model.startswith("ai21"):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue