From a3ecabb00e728d2ed63ce613d6f5b5902780d45c Mon Sep 17 00:00:00 2001 From: Heiner Lohaus Date: Sat, 23 Sep 2023 11:42:30 +0200 Subject: Improve Vercel Provider: - Fix endless loop - Add proxy, async support - Add default model Fix HuggingChat Provider --- g4f/Provider/HuggingChat.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'g4f/Provider/HuggingChat.py') diff --git a/g4f/Provider/HuggingChat.py b/g4f/Provider/HuggingChat.py index 7702c9dd..b2cf9793 100644 --- a/g4f/Provider/HuggingChat.py +++ b/g4f/Provider/HuggingChat.py @@ -9,7 +9,7 @@ from .base_provider import AsyncGeneratorProvider, format_prompt, get_cookies class HuggingChat(AsyncGeneratorProvider): - url = "https://huggingface.co/chat/" + url = "https://huggingface.co/chat" needs_auth = True working = True model = "OpenAssistant/oasst-sft-6-llama-30b-xor" -- cgit v1.2.3