gemini_manifold.py - Detailed DocumentationThis document provides a comprehensive overview of the gemini_manifold.py Open WebUI plugin.
This is a manifold pipe function that adds support for Google's Gemini Studio API and Vertex AI into Open WebUI using google-genai SDK.
Here's a breakdown of implemented and planned features for the Gemini Manifold plugin:
Implemented Features:
Planned Features:
To install this plugin, navigate to the Open WebUI Community page for Gemini Manifold and click the white "Get" button.
After installation, click the gear icon next to the gemini_manifold_google_genai function within Open WebUI. At a minimum, you must enter your Google Gemini API key. Other configurable options are also available on that settings page.
If the whitelist and blacklist are configured to allow models, those models will appear in the Open WebUI model selection list. If valid credentials for both Gemini Developer API and Vertex AI are provided then the models get fetched from both sources and merged together. To use a Gemini model, simply select it from the list and begin your chat.
If you encounter issues, check the Open WebUI logs for error messages. The logs contain detailed information that should help pinpoint the problem. If you need further assistance, please open a new issue in this repository.
See CONTRIBUTING.md. For this plugin, I've also included several ideas in TODO comments within the code. These comments can serve as a starting point for contributions, but feel free to propose completely new features as well!
MIT License. See the LICENSE file for details.
Open WebUI Enterprise — White-labeling, SSO, and dedicated support for your team.