Files
6krrt/tests/test_openrouter_poller.py
adlee-was-taken 9e03f2211c feat(poller): fetch and normalize OpenRouter catalog
Add fetch_openrouter() and parse_openrouter_model() to src/poller.py.

OpenRouter virtual routers are excluded, :batch variants map to latency_class='flex',

and per-token USD prices are normalized to cost per 1M tokens.

Add tests/test_openrouter_poller.py with mocked requests.get coverage.

Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent)

Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
2026-09-06 01:16:27 -04:00

6.6 KiB