Invalid Model Name for Haiku Agent in Command Execution
Resolved 💬 6 comments Opened Aug 1, 2025 by jacobhallgren Closed Jan 8, 2026
Bug Description
When using a custom command /command and set agent to\
\
agent: Haiku\
\
API Error: 400 {"type":"error","error":{"type":"invalid_request_error","message":"system:
Invalid model name"}}
example command file:
allowed-tools: Bash(git status), Bash(git diff), Bash(git add .), Bash(git diff --cached), Bash(git commit -m *), Bash(git push)
description: Stage all changes, create a commit with a generated message, and push to remote.
model: haiku
Environment Info
- Platform: win32
- Terminal: vscode
- Version: 1.0.65
- Feedback ID: ea290486-6c2a-4f3e-9943-433b8330944d
Errors
[]This issue has 6 comments on GitHub. Read the full discussion on GitHub ↗