Merge pull request #1933 from HyiKi/main

Update Gemini.py
This commit is contained in:
Tekky 2024-05-10 13:46:15 +01:00 committed by GitHub
commit ac71602f5d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

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 = {