New Features (PR #46)
- Live
/v1/modelsdiscovery from Anthropic's Models API whenANTHROPIC_API_KEYis set, cached for 1 hour with thundering-herd protection and a short retry TTL on failure. - Dynamic default model resolution —
DEFAULT_MODELresolves to the latest Sonnet at startup whenANTHROPIC_API_KEYis configured; falls back toclaude-sonnet-4-6otherwise. - New env vars:
CLAUDE_MODELS_OVERRIDE,FAST_MODEL,MODEL_LIST_CACHE_TTL_SECONDS,MODEL_LIST_ERROR_TTL_SECONDS,MODEL_LIST_REQUEST_TIMEOUT_SECONDS. createdfield (unix timestamp) populated on/v1/modelsentries 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 installNo breaking changes. New behavior activates automatically when ANTHROPIC_API_KEY is present.