ProxyCLI / internal /util /claude_model.go
kek
Fresh start: Go 1.23 + go-git/v5 compatibility
f606b10
package util
import "strings"
// IsClaudeThinkingModel checks if the model is a Claude thinking model
// that requires the interleaved-thinking beta header.
func IsClaudeThinkingModel(model string) bool {
lower := strings.ToLower(model)
return strings.Contains(lower, "claude") && strings.Contains(lower, "thinking")
}