From 2e531d227c5672c169c26251368c925abb775c80 Mon Sep 17 00:00:00 2001 From: Heiner Lohaus Date: Mon, 6 Jan 2025 23:20:29 +0100 Subject: Fix invalid escape in requests module Add none auth with OpenAI using nodriver Fix missing 1 required positional argument: 'cls' Update count tokens in GUI Fix streaming example in requests guide Remove ChatGptEs as default model --- g4f/gui/client/index.html | 3 +- g4f/gui/client/static/js/chat.v1.js | 150 ++++++++++++++++++++++-------------- 2 files changed, 93 insertions(+), 60 deletions(-) (limited to 'g4f/gui/client') diff --git a/g4f/gui/client/index.html b/g4f/gui/client/index.html index b06da6fb..09f27063 100644 --- a/g4f/gui/client/index.html +++ b/g4f/gui/client/index.html @@ -36,6 +36,7 @@ import llamaTokenizer from "llama-tokenizer-js" +