summaryrefslogtreecommitdiffstats
path: root/g4f/__init__.py
diff options
context:
space:
mode:
authorTekky <98614666+xtekky@users.noreply.github.com>2024-10-30 09:57:48 +0100
committerTekky <98614666+xtekky@users.noreply.github.com>2024-10-30 09:57:48 +0100
commit0f52104ecb3818eda746e5a6b7f5198e0068a56a (patch)
treef74fb3005436a1283ac9666522d4e27cc8d58cc6 /g4f/__init__.py
parentre-include`AsyncClient` for backwards compatibility, with deprecationwarning. Use `Client` instead (diff)
downloadgpt4free-0f52104ecb3818eda746e5a6b7f5198e0068a56a.tar
gpt4free-0f52104ecb3818eda746e5a6b7f5198e0068a56a.tar.gz
gpt4free-0f52104ecb3818eda746e5a6b7f5198e0068a56a.tar.bz2
gpt4free-0f52104ecb3818eda746e5a6b7f5198e0068a56a.tar.lz
gpt4free-0f52104ecb3818eda746e5a6b7f5198e0068a56a.tar.xz
gpt4free-0f52104ecb3818eda746e5a6b7f5198e0068a56a.tar.zst
gpt4free-0f52104ecb3818eda746e5a6b7f5198e0068a56a.zip
Diffstat (limited to 'g4f/__init__.py')
-rw-r--r--g4f/__init__.py1
1 files changed, 1 insertions, 0 deletions
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