Use dynamic pricing if available, otherwise static fallback.
()
| 241 | |
| 242 | |
| 243 | def _get_stats_pricing() -> dict[str, ModelPricing]: |
| 244 | """Use dynamic pricing if available, otherwise static fallback.""" |
| 245 | from uncommon_route.proxy import _active_pricing |
| 246 | return _active_pricing or DEFAULT_MODEL_PRICING |
| 247 | |
| 248 | |
| 249 | def _cache_savings(r: RouteRecord) -> float: |
no outgoing calls
no test coverage detected