From 7294abc890c377d75c6c8c932620c2e2c8b3f0f9 Mon Sep 17 00:00:00 2001 From: Heiner Lohaus Date: Mon, 28 Aug 2023 01:43:45 +0200 Subject: Add async support for H2o Add format_prompt helper Fix create_completion in AsyncGeneratorProvider Move get_cookies from constructor to function Add ow HuggingChat implement Remove need auth form Liabots Add staic cache for access_token in OpenaiChat Add OpenAssistant provider Support stream and async in You Support async and add userId in Yqcloud Add log_time module --- g4f/Provider/__init__.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'g4f/Provider/__init__.py') diff --git a/g4f/Provider/__init__.py b/g4f/Provider/__init__.py index 61ae4dc4..06643665 100644 --- a/g4f/Provider/__init__.py +++ b/g4f/Provider/__init__.py @@ -13,11 +13,12 @@ from .EasyChat import EasyChat from .Forefront import Forefront from .GetGpt import GetGpt from .H2o import H2o -from .Hugchat import Hugchat +from .HuggingChat import HuggingChat from .Liaobots import Liaobots from .Lockchat import Lockchat from .Opchatgpts import Opchatgpts from .OpenaiChat import OpenaiChat +from .OpenAssistant import OpenAssistant from .Raycast import Raycast from .Theb import Theb from .Vercel import Vercel @@ -48,12 +49,13 @@ __all__ = [ 'Forefront', 'GetGpt', 'H2o', - 'Hugchat', + 'HuggingChat', 'Liaobots', 'Lockchat', 'Opchatgpts', 'Raycast', 'OpenaiChat', + 'OpenAssistant', 'Theb', 'Vercel', 'Wewordle', -- cgit v1.2.3