Return live pricing when available, otherwise static fallback.
()
| 311 | |
| 312 | |
| 313 | def _get_pricing() -> dict[str, ModelPricing]: |
| 314 | """Return live pricing when available, otherwise static fallback.""" |
| 315 | return _active_pricing or DEFAULT_MODEL_PRICING |
| 316 | |
| 317 | |
| 318 | def _estimate_cost(model: str, input_tokens: int, output_tokens: int) -> float: |
no outgoing calls
no test coverage detected