Update @google+generative-ai+0.2.1.patch

Fixed the Gemini 2.0 patch
This commit is contained in:
Sweaterdog 2025-02-12 16:52:21 -08:00 committed by GitHub
parent fb4b16e46c
commit a245288cb2
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1,12 +1,12 @@
diff --git a/dist/index.mjs b/dist/index.mjs
--- 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/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";