mirror of
https://github.com/AutoMaker-Org/automaker.git
synced 2026-02-01 08:13:37 +00:00
feat(server): Add Cursor provider support for describe-file and describe-image routes
- describe-file.ts: Route to Cursor provider when using Cursor models (composer-1, etc.) - describe-image.ts: Route to Cursor provider with image path context for Cursor models - auto-mode-service.ts: Fix logging to use console.log instead of this.logger Both routes now detect Cursor models using isCursorModel() and use ProviderFactory.getProviderForModel() to get the appropriate provider instead of always using the Claude SDK. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
@@ -1146,7 +1146,7 @@ Format your response as a structured markdown document.`;
|
||||
const projectAnalysisModel =
|
||||
settings?.phaseModels?.projectAnalysisModel || DEFAULT_PHASE_MODELS.projectAnalysisModel;
|
||||
const analysisModel = resolveModelString(projectAnalysisModel, DEFAULT_MODELS.claude);
|
||||
this.logger.info('[AutoMode] Using model for project analysis:', analysisModel);
|
||||
console.log('[AutoMode] Using model for project analysis:', analysisModel);
|
||||
|
||||
const provider = ProviderFactory.getProviderForModel(analysisModel);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user