fix sync on oss side (#4797)

This commit is contained in:
Shuchang Zheng
2026-02-18 15:41:33 -08:00
committed by GitHub
parent bf92eea8ea
commit da175fee70
3 changed files with 27 additions and 17 deletions

View File

@@ -394,7 +394,7 @@ if settings.ENABLE_ANTHROPIC:
"anthropic/claude-opus-4-6",
["ANTHROPIC_API_KEY"],
supports_vision=True,
add_assistant_prefix=True,
add_assistant_prefix=False, # Claude 4.6 does not support assistant message prefill
max_completion_tokens=64000,
temperature=1, # Claude 4.6 only supports temperature=1
),
@@ -544,7 +544,7 @@ if settings.ENABLE_BEDROCK:
"bedrock/us.anthropic.claude-opus-4-6-v1",
["AWS_REGION"],
supports_vision=True,
add_assistant_prefix=True,
add_assistant_prefix=False, # Claude 4.6 does not support assistant message prefill
max_completion_tokens=64000,
temperature=1, # Claude 4.6 only supports temperature=1
),