File size: 323 Bytes
bf9e111
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
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")
}