fix(anthropic): lowercase anthropic-version header key to prevent duplication on /v1/messages
This commit is contained in:
parent
8b9cac180e
commit
6acc3bb965
1 changed files with 1 additions and 3 deletions
|
|
@ -1,5 +1,3 @@
|
||||||
import { CLAUDE_API_HEADERS } from "../shared.js";
|
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
id: "anthropic",
|
id: "anthropic",
|
||||||
priority: 30,
|
priority: 30,
|
||||||
|
|
@ -19,7 +17,7 @@ export default {
|
||||||
baseUrl: "https://api.anthropic.com/v1/messages",
|
baseUrl: "https://api.anthropic.com/v1/messages",
|
||||||
format: "claude",
|
format: "claude",
|
||||||
headers: {
|
headers: {
|
||||||
"Anthropic-Version": "2023-06-01",
|
"anthropic-version": "2023-06-01",
|
||||||
"Anthropic-Beta": "claude-code-20250219,interleaved-thinking-2025-05-14",
|
"Anthropic-Beta": "claude-code-20250219,interleaved-thinking-2025-05-14",
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue