Download internal/util/claude_model.go from shimen/ShinAPI: direct link, hf CLI and curl.
- Browser
- Download file 323 Bytes
-
https://huggingface.co/spaces/shimen/ShinAPI/resolve/main/internal/util/claude_model.go
- Command line
-
hf download hf://spaces/shimen/ShinAPI/internal/util/claude_model.go
-
curl -L -o claude_model.go https://huggingface.co/spaces/shimen/ShinAPI/resolve/main/internal/util/claude_model.go
323 Bytes
| 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") | |
| } | |