From 0f52104ecb3818eda746e5a6b7f5198e0068a56a Mon Sep 17 00:00:00 2001 From: Tekky <98614666+xtekky@users.noreply.github.com> Date: Wed, 30 Oct 2024 09:57:48 +0100 Subject: implement direct import of `Client` without using `g4f.client` --- g4f/__init__.py | 1 + 1 file changed, 1 insertion(+) diff --git a/g4f/__init__.py b/g4f/__init__.py index ddd79fdb..d77fe760 100644 --- a/g4f/__init__.py +++ b/g4f/__init__.py @@ -4,6 +4,7 @@ import os from . import debug, version from .models import Model +from .client import Client, AsyncClient from .typing import Messages, CreateResult, AsyncResult, Union from .errors import StreamNotSupportedError, ModelNotAllowedError from .cookies import get_cookies, set_cookies -- cgit v1.2.3