diff --git a/README.md b/README.md index 3c080fd..14d7f75 100644 --- a/README.md +++ b/README.md @@ -57,7 +57,7 @@ All it takes is modest JavaScript/TypeScript knowledge and understanding of the - 💡 Solution Generation: Get detailed explanations and solutions with time/space complexity analysis - 🔧 Real-time Debugging: Debug your code with AI assistance and structured feedback - 🎨 Advanced Window Management: Freely move, resize, change opacity, and zoom the window -- 🔄 Model Selection: Choose between GPT-4o and o3-mini for different processing stages +- 🔄 Model Selection: Choose between GPT-4o and gpt-4o-mini for different processing stages - 🔒 Privacy-Focused: Your API key and data never leave your computer except for OpenAI API calls ## Global Commands @@ -261,7 +261,7 @@ To add new models, simply extend the API integration in `electron/ProcessingHelp ## Configuration - **OpenAI API Key**: Your personal API key is stored locally and only used for API calls to OpenAI -- **Model Selection**: You can choose between GPT-4o and o3-mini for each stage of processing: +- **Model Selection**: You can choose between GPT-4o and gpt-4o-mini for each stage of processing: - Problem Extraction: Analyzes screenshots to understand the coding problem - Solution Generation: Creates optimized solutions with explanations - Debugging: Provides detailed analysis of errors and improvement suggestions diff --git a/electron/ConfigHelper.ts b/electron/ConfigHelper.ts index 5bf6367..db8d3d2 100644 --- a/electron/ConfigHelper.ts +++ b/electron/ConfigHelper.ts @@ -60,8 +60,8 @@ export class ConfigHelper extends EventEmitter { */ private sanitizeModelSelection(model: string, provider: "openai" | "gemini" | "anthropic"): string { if (provider === "openai") { - // Only allow gpt-4o and o3-mini for OpenAI - const allowedModels = ['gpt-4o', 'o3-mini']; + // Only allow gpt-4o and gpt-4o-mini for OpenAI + const allowedModels = ['gpt-4o', 'gpt-4o-mini']; if (!allowedModels.includes(model)) { console.warn(`Invalid OpenAI model specified: ${model}. Using default model: gpt-4o`); return 'gpt-4o'; diff --git a/src/components/Settings/SettingsDialog.tsx b/src/components/Settings/SettingsDialog.tsx index 12d67f9..a495485 100644 --- a/src/components/Settings/SettingsDialog.tsx +++ b/src/components/Settings/SettingsDialog.tsx @@ -43,8 +43,8 @@ const modelCategories: ModelCategory[] = [ description: "Best overall performance for problem extraction" }, { - id: "o3-mini", - name: "o3-mini", + id: "gpt-4o-mini", + name: "gpt-4o-mini", description: "Faster, more cost-effective option" } ], @@ -89,8 +89,8 @@ const modelCategories: ModelCategory[] = [ description: "Strong overall performance for coding tasks" }, { - id: "o3-mini", - name: "o3-mini", + id: "gpt-4o-mini", + name: "gpt-4o-mini", description: "Faster, more cost-effective option" } ], @@ -135,8 +135,8 @@ const modelCategories: ModelCategory[] = [ description: "Best for analyzing code and error messages" }, { - id: "o3-mini", - name: "o3-mini", + id: "gpt-4o-mini", + name: "gpt-4o-mini", description: "Faster, more cost-effective option" } ],