[Bug]: model config is not respected resulting in invalid model name
Before submitting
- I searched existing issues and did not find the same problem.
- I have read the relevant documentation (e.g., the README) but could not resolve this issue.
Problem
I noticed this, as we currently have not yet added sonnet-5-5 to our proxy list. Therefore in my '/.claudian/claudian-settings.json' I still have (only sonnet 5 configured), but the resolve model is not used and somehow sonnet-5-5 is passed on.
json { "value": "sonnet[1m]", "label": "Sonnet 5.5 (1M context)", "description": "Sonnet 5.5 for long sessions · $2/$10 per Mtok", "resolvedModel": "claude-sonnet-5[1m]", "reasoningMetadataResolved": true, "supportedEffortLevels": [ "low", "medium", "high", "xhigh", "max" ] }
Error: API Error: 400 anthropic_messages: Invalid model name passed in model=claude-sonnet-5-5. Call /v1/models to view available models for your key.
Steps to reproduce
- configure sonnet-5
- use a proxy that has no access to sonnet-5, or validate that you're using sonnet-5 instead of sonnet-5-5
- start conversation
Expected behavior
resolvedModel config is respected as model selection for inference.
Environment
- Claudian version: 2.3.9
- Obsidian version: 1.13.7
- Operating system: macos 26.6.2 (25G83)
- Provider: bedrock/vertex litellm proxy
- Provider CLI version: claude code v2.1.284
Logs and other evidence
Additional context
No response
Source: YishenTu/claudian