MCPcopy Create free account
hub / github.com/GongShichen/LuminaCode / modelSupportsThinking

Function modelSupportsThinking

agent/normalize.go:366–374  ·  view source on GitHub ↗
(modelFamily string)

Source from the content-addressed store, hash-verified

364}
365
366func 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
376func isTruthy(v any) bool {
377 b, ok := v.(bool)

Callers 1

HandleThinkingBlocksFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected