From 02b51a94c9d061483b6b39daacc5dc0a66cf6312 Mon Sep 17 00:00:00 2001 From: mm3b <111815541+mm3b@users.noreply.github.com> Date: Sun, 14 Apr 2024 06:27:37 +0400 Subject: [PATCH] Add missed comma --- g4f/client/async_client.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/g4f/client/async_client.py b/g4f/client/async_client.py index 51a9cf83..8e1ee33c 100644 --- a/g4f/client/async_client.py +++ b/g4f/client/async_client.py @@ -144,7 +144,7 @@ class Completions(): proxy=self.client.get_proxy() if proxy is None else proxy, max_tokens=max_tokens, stop=stop, - api_key=self.client.api_key if api_key is None else api_key + api_key=self.client.api_key if api_key is None else api_key, **kwargs ) response = iter_response(response, stream, response_format, max_tokens, stop) @@ -207,4 +207,4 @@ class Images(): result = iter_image_response(response) if result is None: raise NoImageResponseError() - return result \ No newline at end of file + return result