mindcraft/patches/@google+generative-ai+0.2.1.patch
Sweaterdog a245288cb2
Update @google+generative-ai+0.2.1.patch
Fixed the Gemini 2.0 patch
2025-02-12 16:52:21 -08:00

12 lines
433 B
Diff

diff --git a/dist/index.mjs b/dist/index.mjs
--- a/node_modules/@google/generative-ai/dist/index.mjs
+++ b/node_modules/@google/generative-ai/dist/index.mjs
@@
-const API_VERSION = "v1";
+const API_VERSION = "v1beta";
diff --git a/dist/index.js b/dist/index.js
--- a/node_modules/@google/generative-ai/dist/index.js
+++ b/node_modules/@google/generative-ai/dist/index.js
@@
-const API_VERSION = "v1";
+const API_VERSION = "v1beta";