mirror of
https://github.com/xtekky/gpt4free.git
synced 2025-12-06 02:30:41 -08:00
12 lines
No EOL
257 B
Python
12 lines
No EOL
257 B
Python
from .providers.types import ProviderType
|
|
|
|
logging: bool = False
|
|
version_check: bool = True
|
|
last_provider: ProviderType = None
|
|
last_model: str = None
|
|
version: str = None
|
|
log_handler: callable = print
|
|
|
|
def log(text):
|
|
if logging:
|
|
log_handler(text) |