From 88d2cbff099df00944ed6dfb6c73b1b5e8dfc7f9 Mon Sep 17 00:00:00 2001 From: Heiner Lohaus Date: Thu, 5 Oct 2023 05:13:37 +0200 Subject: Add AiAsk, Chatgpt4Online, ChatgptDemo and ChatgptX Provider Fix Bing, Liaobots and ChatgptAi Provider Add "gpt_35_long" model and custom timeout --- g4f/__init__.py | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'g4f/__init__.py') diff --git a/g4f/__init__.py b/g4f/__init__.py index 9fb6f672..dc5e1fdd 100644 --- a/g4f/__init__.py +++ b/g4f/__init__.py @@ -1,12 +1,15 @@ from __future__ import annotations + from g4f import models -from .Provider import BaseProvider, AsyncProvider -from .typing import Any, CreateResult, Union +from .Provider import BaseProvider +from .typing import CreateResult, Union +from .debug import logging from requests import get logging = False version = '0.1.4.8' + def check_pypi_version(): try: response = get(f"https://pypi.org/pypi/g4f/json").json() -- cgit v1.2.3