diff --git a/claude_coordinator/commands.py b/claude_coordinator/commands.py index 2346593..4f5bd58 100644 --- a/claude_coordinator/commands.py +++ b/claude_coordinator/commands.py @@ -262,24 +262,11 @@ class ClaudeCommands(commands.Cog): ephemeral=True ) return - - # Map model names to Claude CLI model identifiers - model_mapping = { - "sonnet": "claude-sonnet-4-5", - "opus": "claude-opus-4-6", - "haiku": "claude-3-5-haiku" - } - - if model_name not in model_mapping: - await interaction.response.send_message( - f"❌ Invalid model: {model_name}. Use: sonnet, opus, or haiku", - ephemeral=True - ) - return - + # Update project config with new model + # Store the alias (sonnet/opus/haiku) - Claude CLI resolves to latest version old_model = project.model - project.model = model_mapping[model_name] + project.model = model_name # Save configuration self.config.save()