From 55ec009c13036d826ff9ba051f9fedc9f8fb82dd Mon Sep 17 00:00:00 2001 From: CyberMind-FR Date: Fri, 27 Feb 2026 12:27:25 +0100 Subject: [PATCH] fix(openclaw): Update Gemini models to 2.0/2.5 versions Gemini 1.5 models no longer available in API. Updated model list to: - gemini-2.0-flash - gemini-2.5-flash - gemini-2.5-pro - gemini-flash-latest Co-Authored-By: Claude Opus 4.5 --- .../luci-app-openclaw/root/usr/libexec/rpcd/luci.openclaw | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/package/secubox/luci-app-openclaw/root/usr/libexec/rpcd/luci.openclaw b/package/secubox/luci-app-openclaw/root/usr/libexec/rpcd/luci.openclaw index 4b9b8b57..4d4573fa 100644 --- a/package/secubox/luci-app-openclaw/root/usr/libexec/rpcd/luci.openclaw +++ b/package/secubox/luci-app-openclaw/root/usr/libexec/rpcd/luci.openclaw @@ -109,9 +109,10 @@ list_models() { json_close_array json_add_array "gemini" - json_add_string "" "gemini-1.5-flash" - json_add_string "" "gemini-1.5-pro" - json_add_string "" "gemini-pro" + json_add_string "" "gemini-2.0-flash" + json_add_string "" "gemini-2.5-flash" + json_add_string "" "gemini-2.5-pro" + json_add_string "" "gemini-flash-latest" json_close_array json_close_object