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/base_provider.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'g4f/Provider/base_provider.py') diff --git a/g4f/Provider/base_provider.py b/g4f/Provider/base_provider.py index 0cceb220..ea81502f 100644 --- a/g4f/Provider/base_provider.py +++ b/g4f/Provider/base_provider.py @@ -6,7 +6,7 @@ from abc import ABC, abstractmethod import browser_cookie3 -from ..typing import Any, AsyncGenerator, CreateResult +from ..typing import AsyncGenerator, CreateResult class BaseProvider(ABC): @@ -25,7 +25,6 @@ class BaseProvider(ABC): stream: bool, **kwargs ) -> CreateResult: - raise NotImplementedError() -- cgit v1.2.3