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

Function normalizeLevels

internal/thinking/validate.go:330–336  ·  view source on GitHub ↗
(levels []string)

Source from the content-addressed store, hash-verified

328}
329
330func normalizeLevels(levels []string) []string {
331 out := make([]string, len(levels))
332 for i, l := range levels {
333 out[i] = strings.ToLower(strings.TrimSpace(l))
334 }
335 return out
336}
337
338// isBudgetCapableProvider returns true if the provider supports budget-based thinking.
339// These providers may also support level-based thinking (hybrid models).

Callers 1

ValidateConfigFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected