fix(anthropic): lowercase anthropic-version header key to prevent duplication on /v1/messages

This commit is contained in:
Tuan Do
2026-07-16 15:54:30 +07:00
committed by decolua
parent 8b9cac180e
commit 6acc3bb965

View File

@@ -1,5 +1,3 @@
import { CLAUDE_API_HEADERS } from "../shared.js";
export default {
id: "anthropic",
priority: 30,
@@ -19,7 +17,7 @@ export default {
baseUrl: "https://api.anthropic.com/v1/messages",
format: "claude",
headers: {
"Anthropic-Version": "2023-06-01",
"anthropic-version": "2023-06-01",
"Anthropic-Beta": "claude-code-20250219,interleaved-thinking-2025-05-14",
},
},