blob: f8085add84d6a37c18bed273bd11b9bb8f38bba2 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
|
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)
|