From 9b19603f037cb62ca4d81c68d7e11d5dec0ff969 Mon Sep 17 00:00:00 2001 From: razrab Date: Thu, 16 Nov 2023 11:54:25 +0300 Subject: Fixed tupo in list_ignored_providers parameter. --- g4f/api/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'g4f/api') 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") -- cgit v1.2.3