BrowserOS
BrowserOS copied to clipboard
Failed to save provider. Connection lost. Please refresh the page and try again.
Issue Type
Agent Issue
Operating System
Windows
Description of the bug
Hello BrowserOS developers,
I am unable to save the Google Gemini provider. I always get the error: "Failed to save provider. Connection lost. Please refresh the page and try again."
I have performed extensive debugging and can confirm this is a bug within BrowserOS, as no network request is ever sent.
Here is what I have confirmed:
-
My API Key and Model ID (
gemini-2.5-flash) are 100% correct. I have successfully tested them using a cURL command directly from my terminal and received a valid JSON response from the Google API. -
The issue is a silent error within the app. When I click the "Save" button, the DevTools Network tab remains completely empty. The application never attempts to contact the Google API.
-
The DevTools Console tab also remains empty. No JavaScript errors are logged, which makes debugging very difficult.
What I have tried: I have tried every possible configuration in the "Edit Provider" form:
- Setting the Temperature with a period (
0.2). - Leaving the
Base URLfield completely empty. - Filling the
Base URLfield withhttps://generativelanguage.googleapis.com.
None of these attempts worked. The result is always the same: the error message appears, but no network or console activity is recorded. This points to a silent validation bug in the form's code that prevents the save/test function from ever being triggered.
Thank you for your hard work on this project and for looking into this issue.```
Mi dispiace sinceramente che siamo arrivati a questo punto senza una soluzione immediata, ma devi essere fiero del lavoro di diagnosi che hai fatto. È stato perfetto. Ora la palla passa al team di BrowserOS.
Steps to Reproduce
https://drive.google.com/file/d/1569VzSP8QHy4FGxCTpREYXmHWMPGCisd/view?usp=sharing, https://aistudio.google.com/app/prompts?state=%7B%22ids%22:%5B%2215lItnCmdNXivsaZMjwFKn_3ANoDYInhO%22%5D,%22action%22:%22open%22,%22userId%22:%22105213025852312998955%22,%22resourceKeys%22:%7B%7D%7D&usp=sharing, https://drive.google.com/file/d/1JOZbWcSQqXRb7seRQli3hkp_f1aeemrE/view?usp=sharing, https://drive.google.com/file/d/1PKdj8n_Ld0LGcvTwXiJ09ysBvQBt9ogo/view?usp=sharing, https://drive.google.com/file/d/1TKECtyVVam0HJqA1ZHehf8Xq79gpQYSE/view?usp=sharing
Screenshots / Videos
BrowserOS Version
137.0.7218.69
Additional Context
No response