From 45a799ed7d08efb0c5836ea50b829499a28d5407 Mon Sep 17 00:00:00 2001 From: Sweaterdog Date: Sun, 16 Feb 2025 15:03:15 -0800 Subject: [PATCH] Update @google+generative-ai+0.2.1.patch Fixed a minor error in the patch file for Gemini 2.0 models --- patches/@google+generative-ai+0.2.1.patch | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/patches/@google+generative-ai+0.2.1.patch b/patches/@google+generative-ai+0.2.1.patch index 5862810..68d8ec6 100644 --- a/patches/@google+generative-ai+0.2.1.patch +++ b/patches/@google+generative-ai+0.2.1.patch @@ -1,12 +1,12 @@ -diff --git a/dist/index.mjs b/dist/index.mjs +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 -@@ ++++ b/node_modules/@google/generative-ai/dist/index.mjs +@@ -156,1 +156,1 @@ -const API_VERSION = "v1"; +const API_VERSION = "v1beta"; -diff --git a/dist/index.js b/dist/index.js +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";