From 1fb9eb94f7f35992b3b14b62006cc762037b067c Mon Sep 17 00:00:00 2001 From: HyiKi Date: Thu, 9 May 2024 12:10:35 +0800 Subject: Update Gemini.py fix issue #1932 --- g4f/Provider/needs_auth/Gemini.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/g4f/Provider/needs_auth/Gemini.py b/g4f/Provider/needs_auth/Gemini.py index 02bb0f5a..75cdd199 100644 --- a/g4f/Provider/needs_auth/Gemini.py +++ b/g4f/Provider/needs_auth/Gemini.py @@ -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 = { -- cgit v1.2.3