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
When a user selects "Gemini", the form must show the following fields:
API Key
API Address (Optional: Allow users to specify a custom/proxy endpoint instead of the default generativelanguage.googleapis.com)
⚙️ Backend Requirements
Modify the "save model" API to store the provider_type: 'Gemini' and its associated fields.
The backend logic must check the provider_type for the model.
If the provider_type is "Gemini", the system must route the API call to the llm.gemini.js client (this client may need to be created or updated).
The llm.gemini.js client must correctly use the API Key and target the API Address (or the default Gemini endpoint if not provided) to make successful API requests.
✅ Acceptance Criteria
A user can successfully add and save a Gemini API configuration via the UI.
The system can use this configuration to successfully make calls to the Gemini API.
Parent Epic: #56
Depends on: #61 (This issue introduces the "Provider Type" UI)
🎯 Goal
Implement end-to-end support for the Google Gemini API, allowing users to add it as a custom model provider.
💻 UI Requirements (Frontend)
API KeyAPI Address(Optional: Allow users to specify a custom/proxy endpoint instead of the defaultgenerativelanguage.googleapis.com)⚙️ Backend Requirements
provider_type: 'Gemini'and its associated fields.provider_typefor the model.provider_typeis "Gemini", the system must route the API call to thellm.gemini.jsclient (this client may need to be created or updated).llm.gemini.jsclient must correctly use theAPI Keyand target theAPI Address(or the default Gemini endpoint if not provided) to make successful API requests.✅ Acceptance Criteria