mirror of
https://github.com/xtekky/gpt4free.git
synced 2024-11-05 00:01:00 +00: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,
|
proxy=self.client.get_proxy() if proxy is None else proxy,
|
||||||
max_tokens=max_tokens,
|
max_tokens=max_tokens,
|
||||||
stop=stop,
|
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
|
**kwargs
|
||||||
)
|
)
|
||||||
response = iter_response(response, stream, response_format, max_tokens, stop)
|
response = iter_response(response, stream, response_format, max_tokens, stop)
|
||||||
|
Loading…
Reference in New Issue
Block a user