Improve Vercel Provider:

- Fix endless loop
 - Add proxy, async support
 - Add default model
 Fix HuggingChat Provider
This commit is contained in:
Heiner Lohaus 2023-09-23 11:42:30 +02:00
parent d8fc799e2d
commit a3ecabb00e
5 changed files with 65 additions and 47 deletions

View file

@ -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"