summaryrefslogtreecommitdiffstats
path: root/g4f/Provider/base_provider.py
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--g4f/Provider/base_provider.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/g4f/Provider/base_provider.py b/g4f/Provider/base_provider.py
index 1b0771ff..f3959634 100644
--- a/g4f/Provider/base_provider.py
+++ b/g4f/Provider/base_provider.py
@@ -8,7 +8,6 @@ from inspect import signature, Parameter
from .helper import get_event_loop, get_cookies, format_prompt
from ..typing import CreateResult, AsyncResult, Messages
-
if sys.version_info < (3, 10):
NoneType = type(None)
else:
@@ -76,7 +75,7 @@ class BaseProvider(ABC):
annotation = "None"
return str(annotation)
- args = "";
+ args = ""
for name, param in sig.parameters.items():
if name in ("self", "kwargs"):
continue