summaryrefslogtreecommitdiffstats
path: root/g4f/Provider/base_provider.py
diff options
context:
space:
mode:
authorabc <98614666+xtekky@users.noreply.github.com>2023-11-24 15:16:00 +0100
committerabc <98614666+xtekky@users.noreply.github.com>2023-11-24 15:16:00 +0100
commit10a38324582d34a2514ae0be64bc3a03774bfd77 (patch)
tree5e931be07a2c791112d99092e6f66bc172e0e1ce /g4f/Provider/base_provider.py
parent~ | g4f `v-0.1.9.0` (diff)
downloadgpt4free-10a38324582d34a2514ae0be64bc3a03774bfd77.tar
gpt4free-10a38324582d34a2514ae0be64bc3a03774bfd77.tar.gz
gpt4free-10a38324582d34a2514ae0be64bc3a03774bfd77.tar.bz2
gpt4free-10a38324582d34a2514ae0be64bc3a03774bfd77.tar.lz
gpt4free-10a38324582d34a2514ae0be64bc3a03774bfd77.tar.xz
gpt4free-10a38324582d34a2514ae0be64bc3a03774bfd77.tar.zst
gpt4free-10a38324582d34a2514ae0be64bc3a03774bfd77.zip
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