From 19bf5b7ef6026069e70b9f1e236cee9112f4718b Mon Sep 17 00:00:00 2001 From: hlohaus <983577+hlohaus@users.noreply.github.com> Date: Sun, 26 Jan 2025 21:56:31 +0100 Subject: Fix upload files in demo mode Updates for memory with mem0 Fix asyncio import in nodriver function Add provider specific api endpoints Support for open settings in UI at /chat/settings --- g4f/gui/client/index.html | 19 ++++++++---- g4f/gui/client/static/css/style.css | 14 ++++++--- g4f/gui/client/static/js/chat.v1.js | 61 +++++++++++++++++++++++++------------ g4f/gui/server/api.py | 2 +- g4f/gui/server/backend_api.py | 22 ++++++++----- g4f/gui/server/website.py | 9 ++++-- 6 files changed, 84 insertions(+), 43 deletions(-) (limited to 'g4f/gui') diff --git a/g4f/gui/client/index.html b/g4f/gui/client/index.html index fe6eda18..5c857118 100644 --- a/g4f/gui/client/index.html +++ b/g4f/gui/client/index.html @@ -162,6 +162,19 @@ document.getElementById('recognition-language').placeholder = navigator.language; + +
@@ -189,12 +202,6 @@ Show log
-