summaryrefslogtreecommitdiffstats
path: root/g4f/providers
diff options
context:
space:
mode:
authorH Lohaus <hlohaus@users.noreply.github.com>2024-03-16 20:05:35 +0100
committerGitHub <noreply@github.com>2024-03-16 20:05:35 +0100
commit930ff2b888ebb5a241d415c1a88fc688b60da980 (patch)
treecc39a3df291ad30f55df34f52d31d73afcd9a827 /g4f/providers
parentMerge pull request #1691 from hlohaus/retry (diff)
parentFix GigaChat exceptions, Raise missing browser error (diff)
downloadgpt4free-930ff2b888ebb5a241d415c1a88fc688b60da980.tar
gpt4free-930ff2b888ebb5a241d415c1a88fc688b60da980.tar.gz
gpt4free-930ff2b888ebb5a241d415c1a88fc688b60da980.tar.bz2
gpt4free-930ff2b888ebb5a241d415c1a88fc688b60da980.tar.lz
gpt4free-930ff2b888ebb5a241d415c1a88fc688b60da980.tar.xz
gpt4free-930ff2b888ebb5a241d415c1a88fc688b60da980.tar.zst
gpt4free-930ff2b888ebb5a241d415c1a88fc688b60da980.zip
Diffstat (limited to 'g4f/providers')
-rw-r--r--g4f/providers/base_provider.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/g4f/providers/base_provider.py b/g4f/providers/base_provider.py
index c8397193..ee5bcbb8 100644
--- a/g4f/providers/base_provider.py
+++ b/g4f/providers/base_provider.py
@@ -95,7 +95,7 @@ class AbstractProvider(BaseProvider):
return annotation.__name__ if hasattr(annotation, "__name__") else str(annotation)
args = ""
- for name, param in cls.get_parameters():
+ for name, param in cls.get_parameters().items():
if name in ("self", "kwargs") or (name == "stream" and not cls.supports_stream):
continue
args += f"\n {name}"