feat: update to latest AI models and simplify README
- Update AI models to latest versions: - Gemini: gemini-2.5-flash - OpenAI: gpt-5 - Groq: groq/compound - Drastically simplify README (90% shorter) - Focus on quick start and essential commands - Update version to 0.6.2
This commit is contained in:
+3
-3
@@ -313,9 +313,9 @@ program.command('help-quick').alias('q')
|
||||
console.log(` ${color.cyan('g u')} Undo - Undo last commit\n`);
|
||||
|
||||
console.log(color.bold('Quick Setup:'));
|
||||
console.log(` ${color.cyan('g setup --api-key gemini')} 🚀 Fast & free (recommended)`);
|
||||
console.log(` ${color.cyan('g setup --api-key openai')} 💎 High quality`);
|
||||
console.log(` ${color.cyan('g setup --api-key groq')} ⚡ Ultra fast\n`);
|
||||
console.log(` ${color.cyan('g setup --api-key gemini')} 🚀 gemini-2.5-flash (recommended)`);
|
||||
console.log(` ${color.cyan('g setup --api-key openai')} 💎 gpt-5 (high quality)`);
|
||||
console.log(` ${color.cyan('g setup --api-key groq')} ⚡ groq/compound (ultra fast)\n`);
|
||||
|
||||
console.log(color.bold('Essential Workflow:'));
|
||||
console.log(` ${color.cyan('g s')} Check what's changed`);
|
||||
|
||||
@@ -28,9 +28,9 @@ class AIProviderManager {
|
||||
|
||||
getDefaultModel(provider) {
|
||||
const defaults = {
|
||||
'gemini': 'gemini-2.0-flash-exp', // Latest and fastest
|
||||
'openai': 'gpt-4o-mini', // Cost-effective and fast
|
||||
'groq': 'llama-3.1-8b-instant' // Fast inference
|
||||
'gemini': 'gemini-2.5-flash', // Latest and fastest
|
||||
'openai': 'gpt-5', // Latest GPT model
|
||||
'groq': 'groq/compound' // Latest Groq model
|
||||
};
|
||||
return defaults[provider] || '';
|
||||
}
|
||||
|
||||
@@ -164,14 +164,14 @@ class ConfigManager {
|
||||
console.log(` ${color.cyan('g setup --api-key openai')} # High quality`);
|
||||
console.log(` ${color.cyan('g setup --api-key groq')} # Ultra fast`);
|
||||
console.log('\nOr set environment variables manually:');
|
||||
console.log(' - OPENAI_API_KEY (gpt-4o-mini)');
|
||||
console.log(' - GEMINI_API_KEY (gemini-2.0-flash-exp)');
|
||||
console.log(' - GROQ_API_KEY (llama-3.1-8b-instant)');
|
||||
console.log(' - OPENAI_API_KEY (gpt-5)');
|
||||
console.log(' - GEMINI_API_KEY (gemini-2.5-flash)');
|
||||
console.log(' - GROQ_API_KEY (groq/compound)');
|
||||
} else {
|
||||
console.log('Available providers with default models:');
|
||||
if (hasGemini) console.log(` ${color.green('✓')} Google Gemini (gemini-2.0-flash-exp)`);
|
||||
if (hasOpenAI) console.log(` ${color.green('✓')} OpenAI (gpt-4o-mini)`);
|
||||
if (hasGroq) console.log(` ${color.green('✓')} Groq (llama-3.1-8b-instant)`);
|
||||
if (hasGemini) console.log(` ${color.green('✓')} Google Gemini (gemini-2.5-flash)`);
|
||||
if (hasOpenAI) console.log(` ${color.green('✓')} OpenAI (gpt-5)`);
|
||||
if (hasGroq) console.log(` ${color.green('✓')} Groq (groq/compound)`);
|
||||
}
|
||||
|
||||
const provider = await question(`\nPreferred provider (auto/openai/gemini/groq/none) [auto]: `) || 'auto';
|
||||
|
||||
Reference in New Issue
Block a user