mirror of
https://github.com/Wei-Shaw/sub2api.git
synced 2026-10-16 07:33:06 +08:00
fix(anthropic): preserve requested tool change beta headers
This commit is contained in:
@@ -20,6 +20,9 @@ const (
|
||||
BetaFastMode = "fast-mode-2026-02-01"
|
||||
// Legacy structured output compatibility; forwarded only when explicitly requested.
|
||||
BetaStructuredOutputs = "structured-outputs-2025-11-13"
|
||||
// Tool-change compatibility tokens; never enabled without an explicit client request.
|
||||
BetaMidConversationToolChanges = "mid-conversation-tool-changes-2026-07-01"
|
||||
BetaInlineTools = "inline-tools-2026-09-15"
|
||||
|
||||
// 新增(对齐官方 CLI 2.1.9x 以来的流量)
|
||||
BetaPromptCachingScope = "prompt-caching-scope-2026-01-05"
|
||||
|
||||
Reference in New Issue
Block a user