You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Gemini text adapter image upload fails with CLICK_TIMEOUT #109
Using the gemini_text adapter, text-only prompts work, but prompts with images fail during the Gemini web upload flow.
The upstream caller has already uploaded/fetched the image successfully, and WebAI2API receives the request with images=1. The failure happens after entering the adapter's image upload step, before the file chooser/upload completes.
On the current Gemini UI, the upload entry appears as a + button in the prompt box, and this role/name selector no longer seems to match reliably. safeClick then times out after the default ELEMENT_CLICK timeout, producing CLICK_TIMEOUT.
Expected behavior
Image prompts through gemini_text should click the current Gemini upload entry, open the file chooser, upload the image, and then send the prompt normally.
Suggested fix
Make the Gemini upload selectors more tolerant, for example by trying multiple upload-entry selectors before failing:
Activity