summaryrefslogtreecommitdiffstats
path: root/g4f/api/__init__.py
diff options
context:
space:
mode:
authorrazrab <razrab@PimoLin>2023-11-16 09:54:25 +0100
committerrazrab <razrab@PimoLin>2023-11-16 09:54:25 +0100
commit9b19603f037cb62ca4d81c68d7e11d5dec0ff969 (patch)
tree664193f957f5625f1c9db3f2776e4d3a4fcda710 /g4f/api/__init__.py
parentMerge pull request #1250 from kacperkwapisz/patch-1 (diff)
downloadgpt4free-9b19603f037cb62ca4d81c68d7e11d5dec0ff969.tar
gpt4free-9b19603f037cb62ca4d81c68d7e11d5dec0ff969.tar.gz
gpt4free-9b19603f037cb62ca4d81c68d7e11d5dec0ff969.tar.bz2
gpt4free-9b19603f037cb62ca4d81c68d7e11d5dec0ff969.tar.lz
gpt4free-9b19603f037cb62ca4d81c68d7e11d5dec0ff969.tar.xz
gpt4free-9b19603f037cb62ca4d81c68d7e11d5dec0ff969.tar.zst
gpt4free-9b19603f037cb62ca4d81c68d7e11d5dec0ff969.zip
Diffstat (limited to '')
-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")