From 2df2d6b0cf63fa90b0fe5160a02dade7d161f667 Mon Sep 17 00:00:00 2001 From: Heiner Lohaus Date: Tue, 14 Jan 2025 17:07:39 +0100 Subject: Read FinishReason and Usage from Gemini API Add "Custom Provider": Set API Url in the settings Remove Discord link from result, add them to attr: Jmuz Fix Bug: File content are added to the prompt Changed response from /v1/models API Disable Pizzagpt Provider --- g4f/gui/client/index.html | 13 +++++++++---- g4f/gui/client/static/js/chat.v1.js | 35 +++++++++++++---------------------- 2 files changed, 22 insertions(+), 26 deletions(-) (limited to 'g4f/gui/client') diff --git a/g4f/gui/client/index.html b/g4f/gui/client/index.html index bbf41314..5517eca2 100644 --- a/g4f/gui/client/index.html +++ b/g4f/gui/client/index.html @@ -143,7 +143,7 @@
- +
@@ -157,6 +157,14 @@ document.getElementById('recognition-language').placeholder = navigator.language;
+
+ + +
+