MCPcopy Create free account
hub / github.com/CommonstackAI/UncommonRoute / _normalize_served_quality

Function _normalize_served_quality

uncommon_route/traces.py:22–24  ·  view source on GitHub ↗
(value: str)

Source from the content-addressed store, hash-verified

20
21
22def _normalize_served_quality(value: str) -> str:
23 normalized = str(value or "").strip().lower()
24 return normalized if normalized in {"economy", "balanced", "premium"} else ""
25
26
27def prompt_hash(text: str) -> str:

Callers 2

recordMethod · 0.70
_trace_payloadFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected