mirror of
https://github.com/kolbytn/mindcraft.git
synced 2025-07-28 02:45:27 +02:00
Update @google+generative-ai+0.2.1.patch
Fixed the google generative AI patch
This commit is contained in:
parent
7dda9036a0
commit
8cbedc9f4a
1 changed files with 7 additions and 8 deletions
|
@ -1,13 +1,12 @@
|
|||
diff --git a/node_modules/@google/generative-ai/dist/index.mjs b/node_modules/@google/generative-ai/dist/index.mjs
|
||||
index 23a175b..aab7e19 100644
|
||||
--- a/node_modules/@google/generative-ai/dist/index.mjs
|
||||
+++ b/node_modules/@google/generative-ai/dist/index.mjs
|
||||
@@ -151,7 +151,7 @@ class GoogleGenerativeAIResponseError extends GoogleGenerativeAIError {
|
||||
* limitations under the License.
|
||||
*/
|
||||
const BASE_URL = "https://generativelanguage.googleapis.com";
|
||||
@@ -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";
|
||||
/**
|
||||
* We can't `require` package.json if this runs on web. We will use rollup to
|
||||
* swap in the version number here at build time.
|
||||
|
|
Loading…
Add table
Reference in a new issue