From 486e43dabd1198e6f3c94a4040fc01f5b2fe824c Mon Sep 17 00:00:00 2001 From: Heiner Lohaus Date: Tue, 19 Mar 2024 18:48:32 +0100 Subject: Fix missing websocket_request_id in OpenaiChat Add RateLimitErrors to Bing Add android support to gui api Add annotations import to gui api --- g4f/gui/client/index.html | 6 +-- g4f/gui/client/static/css/style.css | 19 +++----- g4f/gui/client/static/js/chat.v1.js | 73 +++++++++++++++++++++--------- g4f/gui/server/android_gallery.py | 67 ++++++++++++++++++++++++++++ g4f/gui/server/api.py | 89 ++++++++++++++++++++++++++++++++++++- g4f/gui/webview.py | 4 ++ 6 files changed, 219 insertions(+), 39 deletions(-) create mode 100644 g4f/gui/server/android_gallery.py (limited to 'g4f/gui') diff --git a/g4f/gui/client/index.html b/g4f/gui/client/index.html index 9ce6b66a..6b9b1ab9 100644 --- a/g4f/gui/client/index.html +++ b/g4f/gui/client/index.html @@ -133,15 +133,15 @@
-