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:
Tekky 2024-04-15 10:13:33 +01:00 committed by GitHub
commit e5a57646db
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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)