feat: dual authentication support (API/Vertex AI)#1
Open
nicolas-vivot wants to merge 3 commits intoearlyaidopters:mainfrom
Open
feat: dual authentication support (API/Vertex AI)#1nicolas-vivot wants to merge 3 commits intoearlyaidopters:mainfrom
nicolas-vivot wants to merge 3 commits intoearlyaidopters:mainfrom
Conversation
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>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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
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.