Skip to content

v2.3.0 - Live Model Discovery & Dynamic Default Sonnet

Latest

Choose a tag to compare

@RichardAtCT RichardAtCT released this 04 May 11:45

New Features (PR #46)

  • Live /v1/models discovery from Anthropic's Models API when ANTHROPIC_API_KEY is set, cached for 1 hour with thundering-herd protection and a short retry TTL on failure.
  • Dynamic default model resolutionDEFAULT_MODEL resolves to the latest Sonnet at startup when ANTHROPIC_API_KEY is configured; falls back to claude-sonnet-4-6 otherwise.
  • New env vars: CLAUDE_MODELS_OVERRIDE, FAST_MODEL, MODEL_LIST_CACHE_TTL_SECONDS, MODEL_LIST_ERROR_TTL_SECONDS, MODEL_LIST_REQUEST_TIMEOUT_SECONDS.
  • created field (unix timestamp) populated on /v1/models entries to match OpenAI's model object schema.
  • Claude 4.6 family added to the static fallback list.

Compatibility

ANTHROPIC_API_KEY remains optional. Bedrock, Vertex, and Claude CLI subscription auth continue to work — /v1/models returns the static fallback list and claude-sonnet-4-6 is used as the default.

Upgrading

git pull origin main
poetry install

No breaking changes. New behavior activates automatically when ANTHROPIC_API_KEY is present.