Skip to content

Commit

Permalink
Upgrade to gemini-1.5-flash (#2260)
Browse files Browse the repository at this point in the history
  • Loading branch information
taahamahdi authored Feb 7, 2025
1 parent d34d8ec commit 6fbca30
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/helpers/gemini_client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ export default class GeminiClient {

constructor() {
const genAI = new GoogleGenerativeAI(process.env.GEMINI_API_KEY!);
this.client = genAI.getGenerativeModel({ model: "gemini-1.0-pro" });
this.client = genAI.getGenerativeModel({ model: "gemini-1.5-flash" });
}

async getPostSummary(
Expand Down

0 comments on commit 6fbca30

Please sign in to comment.