Update Gemini.py

fix issue #1932
This commit is contained in:
HyiKi 2024-05-09 12:10:35 +08:00
parent ee7428e767
commit 1fb9eb94f7

View File

@ -225,7 +225,7 @@ class Gemini(AsyncGeneratorProvider):
headers=UPLOAD_IMAGE_HEADERS,
connector=connector
) as session:
async with session.options(UPLOAD_IMAGE_URL) as reponse:
async with session.options(UPLOAD_IMAGE_URL) as response:
await raise_for_status(response)
headers = {