mirror of
https://github.com/AutoMaker-Org/automaker.git
synced 2026-01-31 06:42:03 +00:00
When a user explicitly passes a model override (e.g., model: "sonnet"), the code was only fetching credentials without resolving the model alias. This caused API calls to fail because the Claude API expects full model strings like "claude-sonnet-4-20250514", not aliases like "sonnet". The other code branches (settings-based and fallback) correctly called resolvePhaseModel(), but the explicit override branch was missing this. This fix adds the resolvePhaseModel() call to ensure model aliases are properly resolved before being sent to the API.