mirror of
https://github.com/kolbytn/mindcraft.git
synced 2025-08-04 06:15:32 +02:00
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:
parent
0fe7d11618
commit
24891b813e
1 changed files with 12 additions and 0 deletions
12
patches/patches/@google+generative-ai+0.2.1.patch
Normal file
12
patches/patches/@google+generative-ai+0.2.1.patch
Normal 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";
|
Loading…
Add table
Reference in a new issue