Skip to content

feat: add live model catalog snapshot - #30

Merged
VickyXAI merged 3 commits into
mainfrom
agent/refresh-model-catalog
Jul 25, 2026
Merged

feat: add live model catalog snapshot#30
VickyXAI merged 3 commits into
mainfrom
agent/refresh-model-catalog

Conversation

@KillerQueen-Z

Copy link
Copy Markdown
Collaborator

Summary

  • Add an 82-model BlockRun catalog snapshot for local model pickers and allowlists.
  • Export BLOCKRUN_MODEL_IDS, model_ids(), and is_known_model() from the LiteLLM package.
  • Add Claude Opus 5 and GPT-5.6 Terra to the LiteLLM proxy configuration example with pricing.

Why

The public BlockRun catalog includes newly released models such as anthropic/claude-opus-5; SDK consumers need an offline model-ID list while retaining the gateway as the live source of truth.

Validation

  • pytest -q tests/test_catalog.py
  • ruff check blockrun_litellm/catalog.py blockrun_litellm/__init__.py tests/test_catalog.py
  • YAML parsing for examples/litellm_config.yaml
  • Live sidecar GET /v1/models parity: 82 live IDs match the bundled catalog.
  • Paid Claude Opus 5 sidecar request returned ok (17 input / 4 output tokens).

KillerQueen-Z and others added 3 commits July 25, 2026 13:00
Only conflict was __init__.py: keep the new catalog exports, keep main's
version. Merged tree: 309 tests pass.
- Bump to 0.9.0 (pyproject + __init__) and add the CHANGELOG entry the
  catalog snapshot shipped without. This adds public API, so it is a
  minor bump, not a patch.
- Fix the snapshot comment: it was dated 2026-07-25 (a day in the future)
  and pointed at blockrun-llm-go-vip/models.go, which does not exist in
  that repo.
- Replace that dangling cross-reference with CATALOG_SNAPSHOT_DATE, an
  exported constant so a consumer can tell how stale its bundled copy is.
- Assert the ID shape in the catalog test, not just the count.
@VickyXAI
VickyXAI marked this pull request as ready for review July 25, 2026 06:56
@VickyXAI
VickyXAI merged commit f906c7d into main Jul 25, 2026
@VickyXAI
VickyXAI deleted the agent/refresh-model-catalog branch July 25, 2026 06:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants