Skip to content

Commit

Permalink
~ | g4f v-0.1.8.9
Browse files Browse the repository at this point in the history
  • Loading branch information
xtekky committed Nov 20, 2023
1 parent 9140541 commit 0636966
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 9 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
> By using this repository or any code related to it, you agree to the [legal notice](LEGAL_NOTICE.md). The author is not responsible for any copies, forks, re-uploads made by other users, or anything else related to GPT4Free. This is the author's only account and repository. To prevent impersonation or irresponsible actions, please comply with the GNU GPL license this Repository uses.
> [!Note]
> Latest pypi version: [`0.1.8.7`](https://pypi.org/project/g4f/0.1.8.7)
> Latest pypi version: [`0.1.8.9`](https://pypi.org/project/g4f/0.1.8.9)
```sh
pip install -U g4f
```
Expand Down
16 changes: 10 additions & 6 deletions g4f/Provider/base_provider.py
Original file line number Diff line number Diff line change
@@ -1,14 +1,18 @@
from __future__ import annotations

from asyncio import AbstractEventLoop
import sys
from asyncio import AbstractEventLoop
from concurrent.futures import ThreadPoolExecutor
from abc import ABC, abstractmethod
from inspect import signature, Parameter
from types import NoneType
from abc import ABC, abstractmethod
from inspect import signature, Parameter
from .helper import get_event_loop, get_cookies, format_prompt
from ..typing import CreateResult, AsyncResult, Messages

from .helper import get_event_loop, get_cookies, format_prompt
from ..typing import CreateResult, AsyncResult, Messages

if sys.version_info < (3, 10):
NoneType = type(None)
else:
from types import NoneType

class BaseProvider(ABC):
url: str
Expand Down
2 changes: 1 addition & 1 deletion g4f/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
from .typing import Messages, CreateResult, AsyncResult, Union, List
from . import debug

version = '0.1.8.7'
version = '0.1.8.9'
version_check = True

def check_pypi_version() -> None:
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
with open('requirements.txt') as f:
required = f.read().splitlines()

VERSION = '0.1.8.8'
VERSION = '0.1.8.9'
DESCRIPTION = (
'The official gpt4free repository | various collection of powerful language models'
)
Expand Down

0 comments on commit 0636966

Please sign in to comment.