Skip to content

feat: dual authentication support (API/Vertex AI)#1

Open
nicolas-vivot wants to merge 3 commits intoearlyaidopters:mainfrom
nicolas-vivot:feature/alternative-gemini-auth
Open

feat: dual authentication support (API/Vertex AI)#1
nicolas-vivot wants to merge 3 commits intoearlyaidopters:mainfrom
nicolas-vivot:feature/alternative-gemini-auth

Conversation

@nicolas-vivot
Copy link

@nicolas-vivot nicolas-vivot commented Mar 24, 2026

Hey,

Thank you for all the work you’ve put into this. Your YouTube video was very helpful, and the installation steps are clear and easy to follow.
Here is my modest contribution to help improve it.

Summary

Adds support for Vertex AI authentication, enabling users to run Gemini models through Google Vertex AI.
Also introduces improvements such as configurable model selection instead of hard-coded defaults.

What’s been done

  • Added dual authentication support
  • Enabled configurable model selection
  • Backported changes to the Windows setup script

How this was tested

Tested on Linux using the macOS installation script (skipping the first three OS-specific steps since dependencies were already installed). The changes worked as expected.

The Windows setup script was updated accordingly, but has not been tested yet.

nicolas-vivot and others added 3 commits March 19, 2026 13:57
Creates centralized gemini_auth.py module that auto-detects authentication
method based on environment variables. Both process_docs_to_obsidian.py and
process_files_with_gemini.py now support either Google AI Studio API keys
or Vertex AI authentication, giving users flexibility for billing/quota
management. Updates .env.example and README.md with clear setup instructions
for both methods.

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
Brings Windows installation script to feature parity with macOS/Linux version:
- Dual authentication: API Key + Vertex AI with model selection
- Add gemini_auth.py to copied scripts
- Recursive file scanning option for imports
- Vault path validation to prevent vault=repo conflicts
- Step count updated from 7 to 8 steps
- Check pip installation status before file processing

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
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.

1 participant