[BUG] "model" option in custom slash command not working

Resolved 💬 3 comments Opened Aug 2, 2025 by zeakd Closed Aug 2, 2025

Environment

  • Platform (select one):
  • [ ] Anthropic API
  • [ ] AWS Bedrock
  • [ ] Google Vertex AI
  • [ ] Other: <!-- specify -->
  • Claude CLI version: 1.0.67
  • Operating System: macos
  • Terminal: <!-- e.g. iTerm2, Terminal App -->

Bug Description

<!-- A clear and concise description of the bug -->

Steps to Reproduce

  1. create slash command using snippet in docs https://docs.anthropic.com/en/docs/claude-code/slash-commands#frontmatter
  2. run command inside claude code cli

Expected Behavior

works.

Actual Behavior

API Error: 404 {"type":"error","error":{"type":"not_found_error","message":"model: haiku"}}

Additional Context

<!-- Add any other context about the problem here, such as screenshots, logs, etc. -->

View original on GitHub ↗

This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗