Skip to content

Commit

Permalink
Add missed comma
Browse files Browse the repository at this point in the history
  • Loading branch information
mm3b authored Apr 14, 2024
1 parent 46dcf08 commit 02b51a9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions g4f/client/async_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ def create(
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)
Expand Down Expand Up @@ -207,4 +207,4 @@ async def create_variation(self, image: ImageType, model: str = None, **kwargs):
result = iter_image_response(response)
if result is None:
raise NoImageResponseError()
return result
return result

0 comments on commit 02b51a9

Please sign in to comment.