mindcraft/patches/@google+generative-ai+0.2.1.patch
Sweaterdog 45a799ed7d
Update @google+generative-ai+0.2.1.patch
Fixed a minor error in the patch file for Gemini 2.0 models
2025-02-16 15:03:15 -08:00

12 lines
606 B
Diff

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