Create @google+generative-ai+0.2.1.patch

Made it so the endpoint for Gemini models is now v1beta instead of v1, allowing access to all new models
This commit is contained in:
Sweaterdog 2025-02-09 13:08:40 -08:00 committed by GitHub
parent 0fe7d11618
commit 24891b813e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

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