mirror of
https://github.com/Skyvern-AI/skyvern.git
synced 2025-09-16 18:29:40 +00:00
add anthropic claude3.7 support (#1831)
This commit is contained in:
parent
c3dade1ebe
commit
31144fa125
1 changed files with 10 additions and 0 deletions
|
@ -164,6 +164,16 @@ if settings.ENABLE_ANTHROPIC:
|
||||||
max_completion_tokens=8192,
|
max_completion_tokens=8192,
|
||||||
),
|
),
|
||||||
)
|
)
|
||||||
|
LLMConfigRegistry.register_config(
|
||||||
|
"ANTHROPIC_CLAUDE3.7_SONNET",
|
||||||
|
LLMConfig(
|
||||||
|
"anthropic/claude-3-7-sonnet-latest",
|
||||||
|
["ANTHROPIC_API_KEY"],
|
||||||
|
supports_vision=True,
|
||||||
|
add_assistant_prefix=True,
|
||||||
|
max_completion_tokens=8192,
|
||||||
|
),
|
||||||
|
)
|
||||||
|
|
||||||
if settings.ENABLE_BEDROCK:
|
if settings.ENABLE_BEDROCK:
|
||||||
# Supported through AWS IAM authentication
|
# Supported through AWS IAM authentication
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue