(modelFamily string)
| 364 | } |
| 365 | |
| 366 | func modelSupportsThinking(modelFamily string) bool { |
| 367 | low := strings.ToLower(modelFamily) |
| 368 | for _, prefix := range thinkingModelPrefixes { |
| 369 | if strings.HasPrefix(low, prefix) { |
| 370 | return true |
| 371 | } |
| 372 | } |
| 373 | return false |
| 374 | } |
| 375 | |
| 376 | func isTruthy(v any) bool { |
| 377 | b, ok := v.(bool) |
no outgoing calls
no test coverage detected