diff options
author | H Lohaus <hlohaus@users.noreply.github.com> | 2023-11-16 12:14:15 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-11-16 12:14:15 +0100 |
commit | 575a1885199336b8a8f1ba8b7b39b9e8297db41b (patch) | |
tree | 4aa077330b6f7244a3816ba2deecb8593b0d2878 /g4f | |
parent | Merge pull request #1258 from AndPim4912/chatbase (diff) | |
parent | Fixed tupo in list_ignored_providers parameter. (diff) | |
download | gpt4free-575a1885199336b8a8f1ba8b7b39b9e8297db41b.tar gpt4free-575a1885199336b8a8f1ba8b7b39b9e8297db41b.tar.gz gpt4free-575a1885199336b8a8f1ba8b7b39b9e8297db41b.tar.bz2 gpt4free-575a1885199336b8a8f1ba8b7b39b9e8297db41b.tar.lz gpt4free-575a1885199336b8a8f1ba8b7b39b9e8297db41b.tar.xz gpt4free-575a1885199336b8a8f1ba8b7b39b9e8297db41b.tar.zst gpt4free-575a1885199336b8a8f1ba8b7b39b9e8297db41b.zip |
Diffstat (limited to 'g4f')
-rw-r--r-- | g4f/api/__init__.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/g4f/api/__init__.py b/g4f/api/__init__.py index 166395db..d8798ef2 100644 --- a/g4f/api/__init__.py +++ b/g4f/api/__init__.py @@ -86,7 +86,7 @@ class Api: model=model, stream=stream, messages=messages, - list_ignored_providers=self.list_ignored_providers) + ignored=self.list_ignored_providers) except Exception as e: logging.exception(e) return Response(content=json.dumps({"error": "An error occurred while generating the response."}, indent=4), media_type="application/json") |