mirror of
https://github.com/AutoMaker-Org/automaker.git
synced 2026-03-16 21:53:07 +00:00
When the Plan dialog sends a model (e.g. MiniMax-M2.1 from phase
settings), the server now:
- Calls getProviderByModelId() so the correct provider config
(baseUrl, credentials) is used for backlog plan generation.
- Falls back to getPhaseModelWithOverrides('backlogPlanningModel')
when model lookup finds no provider, so the phase's provider is
used when the model matches.
- Uses a plain system prompt instead of the claude_code preset when
a Claude-compatible provider is set; the preset is for native
Claude CLI and can break requests to MiniMax/GLM APIs.
Previously the request was sent to the default Anthropic endpoint
and/or used the preset, causing plan generation to fail for
MiniMax/GLM users.
Co-authored-by: Cursor <cursoragent@cursor.com>