Add support for Anthropic Claude Opus 4.6 in webbench (#4777)
This commit is contained in:
@@ -387,6 +387,16 @@ if settings.ENABLE_ANTHROPIC:
|
||||
max_completion_tokens=64000,
|
||||
),
|
||||
)
|
||||
LLMConfigRegistry.register_config(
|
||||
"ANTHROPIC_CLAUDE4.6_OPUS",
|
||||
LLMConfig(
|
||||
"anthropic/claude-opus-4-6",
|
||||
["ANTHROPIC_API_KEY"],
|
||||
supports_vision=True,
|
||||
add_assistant_prefix=True,
|
||||
max_completion_tokens=64000,
|
||||
),
|
||||
)
|
||||
|
||||
if settings.ENABLE_BEDROCK:
|
||||
# Supported through AWS IAM authentication
|
||||
@@ -524,6 +534,16 @@ if settings.ENABLE_BEDROCK:
|
||||
max_completion_tokens=64000,
|
||||
),
|
||||
)
|
||||
LLMConfigRegistry.register_config(
|
||||
"BEDROCK_ANTHROPIC_CLAUDE4.6_OPUS_INFERENCE_PROFILE",
|
||||
LLMConfig(
|
||||
"bedrock/us.anthropic.claude-opus-4-6-v1",
|
||||
["AWS_REGION"],
|
||||
supports_vision=True,
|
||||
add_assistant_prefix=True,
|
||||
max_completion_tokens=64000,
|
||||
),
|
||||
)
|
||||
|
||||
|
||||
if settings.ENABLE_AZURE:
|
||||
|
||||
Reference in New Issue
Block a user