Skip to content

Feat: Add Advanced Settings for Gemini API Keys#397

Open
jihvijhojhviihogyuvi wants to merge 1 commit intoAyush0Chaudhary:mainfrom
jihvijhojhviihogyuvi:feat/advanced-gemini-key-settings
Open

Feat: Add Advanced Settings for Gemini API Keys#397
jihvijhojhviihogyuvi wants to merge 1 commit intoAyush0Chaudhary:mainfrom
jihvijhojhviihogyuvi:feat/advanced-gemini-key-settings

Conversation

@jihvijhojhviihogyuvi
Copy link

This commit introduces a new "Advanced Settings" page that allows users to add and manage their own Gemini API keys.

Key features include:

  • A new screen to add, view, and delete multiple Gemini API keys.
  • Secure storage of API keys using EncryptedSharedPreferences.
  • A toggle switch to enable or disable the use of custom keys.
  • Updated API call logic to use user-provided keys for direct API calls when enabled, bypassing the default proxy.
  • A warning message in the UI to inform users about potential costs and key requirements.

This commit introduces a new "Advanced Settings" page that allows users to add and manage their own Gemini API keys.

Key features include:
- A new screen to add, view, and delete multiple Gemini API keys.
- Secure storage of API keys using EncryptedSharedPreferences.
- A toggle switch to enable or disable the use of custom keys.
- Updated API call logic to use user-provided keys for direct API calls when enabled, bypassing the default proxy.
- A warning message in the UI to inform users about potential costs and key requirements.
@Ayush0Chaudhary Ayush0Chaudhary self-requested a review December 1, 2025 08:10
@Ayush0Chaudhary
Copy link
Owner

Thank you for this PR, I see there are some conflicts. I will review it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants