mirror of
https://github.com/Memo-2023/mana-monorepo.git
synced 2026-05-18 11:29:41 +02:00
🩹 fix(nutriphi): update Gemini model from expired gemini-2.0-flash-exp to gemini-2.5-flash
The experimental model gemini-2.0-flash-exp no longer exists. Updated to the stable gemini-2.5-flash model. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
parent
a4ef703761
commit
c221f92da2
1 changed files with 2 additions and 2 deletions
|
|
@ -85,8 +85,8 @@ export class GeminiService implements OnModuleInit {
|
|||
const apiKey = this.configService.get<string>('GEMINI_API_KEY');
|
||||
if (apiKey) {
|
||||
const genAI = new GoogleGenerativeAI(apiKey);
|
||||
// Use Gemini 2.0 Flash - fast and cost-effective
|
||||
this.model = genAI.getGenerativeModel({ model: 'gemini-2.0-flash-exp' });
|
||||
// Use Gemini 2.5 Flash - fast and cost-effective
|
||||
this.model = genAI.getGenerativeModel({ model: 'gemini-2.5-flash' });
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue