~ | g4f v-0.1.8.5

This commit is contained in:
abc 2023-11-18 02:43:42 +00:00
parent ca3eaaffee
commit 9c45b5622a
3 changed files with 3 additions and 4 deletions

View File

@ -7,7 +7,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. > 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] > [!Note]
> Latest pypi version: [`0.1.8.4`](https://pypi.org/project/g4f/0.1.8.4) > Latest pypi version: [`0.1.8.5`](https://pypi.org/project/g4f/0.1.8.5)
```sh ```sh
pip install -U g4f pip install -U g4f
``` ```

View File

@ -5,7 +5,7 @@ from .Provider import BaseProvider, RetryProvider
from .typing import Messages, CreateResult, Union, List from .typing import Messages, CreateResult, Union, List
from . import debug from . import debug
version = '0.1.8.4' version = '0.1.8.5'
version_check = True version_check = True
def check_pypi_version() -> None: def check_pypi_version() -> None:
@ -53,7 +53,6 @@ def get_model_and_provider(model : Union[Model, str],
return model, provider return model, provider
class ChatCompletion: class ChatCompletion:
@staticmethod @staticmethod
def create(model : Union[Model, str], def create(model : Union[Model, str],

View File

@ -11,7 +11,7 @@ with codecs.open(os.path.join(here, 'README.md'), encoding='utf-8') as fh:
with open('requirements.txt') as f: with open('requirements.txt') as f:
required = f.read().splitlines() required = f.read().splitlines()
VERSION = '0.1.8.4' VERSION = '0.1.8.5'
DESCRIPTION = ( DESCRIPTION = (
'The official gpt4free repository | various collection of powerful language models' 'The official gpt4free repository | various collection of powerful language models'
) )