@@ -633,7 +633,11 @@ func (c *coordinator) buildProvider(providerCfg config.ProviderConfig, model con
634 // handle special headers for anthropic
634 // handle special headers for anthropic
635 if providerCfg.Type == anthropic.Name && c.isAnthropicThinking(model) {
635 if providerCfg.Type == anthropic.Name && c.isAnthropicThinking(model) {
636+ if v, ok := headers["anthropic-beta"]; ok {
636− headers["anthropic-beta"] = "interleaved-thinking-2025-05-14"
637+ headers["anthropic-beta"] = v + ",interleaved-thinking-2025-05-14"
639+ headers["anthropic-beta"] = "interleaved-thinking-2025-05-14"
639 // TODO: make sure we have
643 // TODO: make sure we have