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

XFEstudio/gpt4free

Update Gemini.py

fix issue #1932

1fb9eb94
HyiKi <haoxuan.wang@shopcider.com>
提交于

代码差异

1 个文件 +1 -1
Modified g4f/Provider/needs_auth/Gemini.py +1 -1
@@ -225,7 +225,7 @@ class Gemini(AsyncGeneratorProvider):
225 225 headers=UPLOAD_IMAGE_HEADERS,
226 226 connector=connector
227 227 ) as session:
228 async with session.options(UPLOAD_IMAGE_URL) as reponse:
228 async with session.options(UPLOAD_IMAGE_URL) as response:
229 229 await raise_for_status(response)
230 230
231 231 headers = {