chore: update Gemini model version to 2.0-flash
- Changed the generative model used in the Gemini helper from "gemini-1.5-flash" to "gemini-2.0-flash" for improved performance and capabilities.
This commit is contained in:
1 parent
eab7cc7a8f
commit
0160b37f84
1 file changed
+1
-1
@@ -4,7 +4,7 @@ import { z } from "zod";
|
||||
import { removeNullOrUndefinedProperties } from "./data.helper";
|
||||
|
||||
const gemini = new GoogleGenerativeAI(ENV.GEMINI_API_KEY);
|
||||
const model = gemini.getGenerativeModel({ model: "gemini-1.5-flash" });
|
||||
const model = gemini.getGenerativeModel({ model: "gemini-2.0-flash" });
|
||||
|
||||
interface FindQuery {
|
||||
query: string;
|
||||
|
||||
Reference in new issue
Block a user