summaryrefslogtreecommitdiffstats
path: root/g4f/__init__.py
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--g4f/__init__.py1
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