Update model selection terminology from 'o3-mini' to 'gpt-4o-mini' in README and code for consistency

main
totargaming 2 years ago
parent a2ad2cc642
commit 609c8ed6f1

@ -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

@ -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';

@ -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"
}
],

Loading…
Cancel
Save