summaryrefslogtreecommitdiffstats
path: root/g4f/client
diff options
context:
space:
mode:
authorTekky <98614666+xtekky@users.noreply.github.com>2024-04-15 11:13:33 +0200
committerGitHub <noreply@github.com>2024-04-15 11:13:33 +0200
commite5a57646dbd5224f151f822539ac28a4647b3fb3 (patch)
tree2b9d86e5c4137369f4d2ef98f45e0a24383dd507 /g4f/client
parentMerge pull request #1835 from ochen1/patch-1 (diff)
parentAdd missed comma (diff)
downloadgpt4free-e5a57646dbd5224f151f822539ac28a4647b3fb3.tar
gpt4free-e5a57646dbd5224f151f822539ac28a4647b3fb3.tar.gz
gpt4free-e5a57646dbd5224f151f822539ac28a4647b3fb3.tar.bz2
gpt4free-e5a57646dbd5224f151f822539ac28a4647b3fb3.tar.lz
gpt4free-e5a57646dbd5224f151f822539ac28a4647b3fb3.tar.xz
gpt4free-e5a57646dbd5224f151f822539ac28a4647b3fb3.tar.zst
gpt4free-e5a57646dbd5224f151f822539ac28a4647b3fb3.zip
Diffstat (limited to '')
-rw-r--r--g4f/client/async_client.py4
1 files 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