diff options
author | Tekky <98614666+xtekky@users.noreply.github.com> | 2023-10-19 09:53:37 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-10-19 09:53:37 +0200 |
commit | 4c72acca7b08d53cc19fe8478e9091ae26207635 (patch) | |
tree | 8ce5a5e3baabf035dd4840e30938dd4be659a40c /g4f/__init__.py | |
parent | ~ (diff) | |
parent | Fix: debug.logging not work in retry provider (diff) | |
download | gpt4free-4c72acca7b08d53cc19fe8478e9091ae26207635.tar gpt4free-4c72acca7b08d53cc19fe8478e9091ae26207635.tar.gz gpt4free-4c72acca7b08d53cc19fe8478e9091ae26207635.tar.bz2 gpt4free-4c72acca7b08d53cc19fe8478e9091ae26207635.tar.lz gpt4free-4c72acca7b08d53cc19fe8478e9091ae26207635.tar.xz gpt4free-4c72acca7b08d53cc19fe8478e9091ae26207635.tar.zst gpt4free-4c72acca7b08d53cc19fe8478e9091ae26207635.zip |
Diffstat (limited to '')
-rw-r--r-- | g4f/__init__.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/g4f/__init__.py b/g4f/__init__.py index e859dda5..492d4e5b 100644 --- a/g4f/__init__.py +++ b/g4f/__init__.py @@ -48,6 +48,7 @@ def get_model_and_provider(model : Union[Model, str], raise ValueError(f'{provider.__name__} does not support "stream" argument') if logging: + RetryProvider.logging = True print(f'Using {provider.__name__} provider') return model, provider |