fix(anthropic): lowercase anthropic-version header key to prevent duplication on /v1/messages
This commit is contained in:
@@ -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",
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user