XFE Git
XFE Studio Git
Git 首页 全局搜索
XFE 主站 文档 NuGet
公开
关注 0 Fork 0 Star 0
返回提交历史

XFEstudio/gpt4free

Add missed comma

02b51a94
mm3b <111815541+mm3b@users.noreply.github.com>
提交于

代码差异

1 个文件 +2 -2
Modified g4f/client/async_client.py +2 -2
@@ -144,7 +144,7 @@ class Completions():
144 144 proxy=self.client.get_proxy() if proxy is None else proxy,
145 145 max_tokens=max_tokens,
146 146 stop=stop,
147 api_key=self.client.api_key if api_key is None else api_key
147 api_key=self.client.api_key if api_key is None else api_key,
148 148 **kwargs
149 149 )
150 150 response = iter_response(response, stream, response_format, max_tokens, stop)
@@ -207,4 +207,4 @@ class Images():
207 207 result = iter_image_response(response)
208 208 if result is None:
209 209 raise NoImageResponseError()
210 return result
210 return result