fix: add claude-code-20250219 beta header to match claude-code
This commit is contained in:
parent
8e282db13a
commit
4d2ccfdaaa
1 changed files with 1 additions and 1 deletions
|
|
@ -41,7 +41,7 @@ func ClaudeCodeHeaders(apiKey, sessionID string) map[string]string {
|
|||
"x-api-key": apiKey,
|
||||
"x-app": "cli",
|
||||
"anthropic-version": "2023-06-01",
|
||||
"anthropic-beta": "interleaved-thinking-2025-05-14,prompt-caching-scope-2026-01-05,context-management-2025-06-27",
|
||||
"anthropic-beta": "claude-code-20250219,interleaved-thinking-2025-05-14,prompt-caching-scope-2026-01-05,context-management-2025-06-27,redact-thinking-2026-02-12",
|
||||
"X-Claude-Code-Session-Id": sessionID,
|
||||
"content-type": "application/json",
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue