Generative AI suite powered by state-of-the-art models and providing advanced AI/AGI functions. It features AI personas, AGI functions, multi-model chats, text-to-image, voice, response streaming, code highlighting and execution, PDF import, presets for developers, much more. Deploy on-prem or in the cloud.
This fork introduces a more flexible way to handle Gemini API keys, allowing users to specify either a single key or a comma-separated list of keys through the existing GEMINI_API_KEY interface field.
Current behavior:
The original code only supports a single Gemini API key.
Proposed behavior:
If the GEMINI_API_KEY field contains a single value (no commas), it's treated as a single API key.
If the GEMINI_API_KEY field contains multiple values separated by commas, it's treated as a list of API keys. The application will randomly select one of these keys for each request to the Gemini API.
Benefits:
Increased robustness: Using multiple API keys can help prevent rate limiting issues and ensure uninterrupted access to the Gemini API.
This fork introduces a more flexible way to handle Gemini API keys, allowing users to specify either a single key or a comma-separated list of keys through the existing GEMINI_API_KEY interface field.
Current behavior: The original code only supports a single Gemini API key.
Proposed behavior: If the GEMINI_API_KEY field contains a single value (no commas), it's treated as a single API key. If the GEMINI_API_KEY field contains multiple values separated by commas, it's treated as a list of API keys. The application will randomly select one of these keys for each request to the Gemini API.
Benefits: Increased robustness: Using multiple API keys can help prevent rate limiting issues and ensure uninterrupted access to the Gemini API.