MCPcopy Create free account
hub / github.com/chainreactors/EvilProxy / hasThinkingConfig

Function hasThinkingConfig

internal/thinking/apply.go:429–431  ·  view source on GitHub ↗
(config ThinkingConfig)

Source from the content-addressed store, hash-verified

427}
428
429func hasThinkingConfig(config ThinkingConfig) bool {
430 return config.Mode != ModeBudget || config.Budget != 0 || config.Level != ""
431}
432
433// ExtractReasoningEffort returns the request's thinking setting as a canonical
434// reasoning_effort label for usage logging. Model suffixes have the same

Callers 5

ApplyThinkingFunction · 0.85
applyUserDefinedModelFunction · 0.85
ExtractReasoningEffortFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected