[BUG] Subagent Model Selection not compatible with LLM Proxy with custom/short model names
Resolved 💬 2 comments Opened Aug 1, 2025 by pegwymonie Closed Aug 1, 2025
Environment
- Platform (select one):
- [ ] Anthropic API
- [ ] AWS Bedrock
- [*] Google Vertex AI
- [*] Other: LiteLLM
- Claude CLI version: 1.0.65 (Claude Code)
- Operating System: Macos 15.5
- Terminal: Zsh
Bug Description
Using a custom model name in the model section of a custom agent leads to the model being ignored, and the default model being used. Using the short name for a model, ie Haiku, leads to CC utilizing the date stamped model name, which some users may not have setup in their model proxy.
claude-3.5-haiku vs claude-3-5-haiku-20241022
Steps to Reproduce
- Have a LiteLLM proxy setup with only the short model names, enterprise so not user configurable.
- Create agent using Haiku
- Invoke agent
Expected Behavior
- Create an agent with Haiku
- Invoke agent
- Profit
Actual Behavior
- Create agent using Haiku
- Invoke agent
- Red Wall of text
This issue has 2 comments on GitHub. Read the full discussion on GitHub ↗