diff options
author | H Lohaus <hlohaus@users.noreply.github.com> | 2024-03-16 20:05:35 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-03-16 20:05:35 +0100 |
commit | 930ff2b888ebb5a241d415c1a88fc688b60da980 (patch) | |
tree | cc39a3df291ad30f55df34f52d31d73afcd9a827 /g4f/providers/base_provider.py | |
parent | Merge pull request #1691 from hlohaus/retry (diff) | |
parent | Fix GigaChat exceptions, Raise missing browser error (diff) | |
download | gpt4free-0.2.5.1.tar gpt4free-0.2.5.1.tar.gz gpt4free-0.2.5.1.tar.bz2 gpt4free-0.2.5.1.tar.lz gpt4free-0.2.5.1.tar.xz gpt4free-0.2.5.1.tar.zst gpt4free-0.2.5.1.zip |
Diffstat (limited to 'g4f/providers/base_provider.py')
-rw-r--r-- | g4f/providers/base_provider.py | 2 |
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}" |