mirror of
https://github.com/xtekky/gpt4free.git
synced 2024-11-22 15:05:57 +03:00
Merge pull request #1836 from mm3b/main
Fixing an error that occurs due to a missing comma in async client
This commit is contained in:
commit
e5a57646db
@ -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
|
||||
return result
|
||||
|
Loading…
Reference in New Issue
Block a user