summaryrefslogtreecommitdiffstats
path: root/g4f
diff options
context:
space:
mode:
authorH Lohaus <hlohaus@users.noreply.github.com>2023-11-16 12:14:15 +0100
committerGitHub <noreply@github.com>2023-11-16 12:14:15 +0100
commit575a1885199336b8a8f1ba8b7b39b9e8297db41b (patch)
tree4aa077330b6f7244a3816ba2deecb8593b0d2878 /g4f
parentMerge pull request #1258 from AndPim4912/chatbase (diff)
parentFixed tupo in list_ignored_providers parameter. (diff)
downloadgpt4free-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__.py2
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")