Made env example local-dev friendly#158
Conversation
There was a problem hiding this comment.
Code Review
This pull request refactors the .env.example file by removing several LLM providers and monitoring configurations, focusing the setup on Google Gemini. It also introduces a new Authentication section for Google OAuth and JWT settings. Feedback includes correcting a likely typo in the Gemini model version, re-adding the ENVIRONMENT variable to ensure local development defaults, and maintaining consistent placeholder naming for authentication secrets.
|
|
||
| # Google Gemini | ||
| GEMINI_API_KEY=your_gemini_api_key_here | ||
| GEMINI_MODEL=gemini-2.5-flash |
| # ============================================================================= | ||
| # Monitoring & Observability | ||
| # Authentication | ||
| # ============================================================================= |
There was a problem hiding this comment.
The ENVIRONMENT variable was removed in this PR. Since the default value in src/config/settings.py is production, local instances will default to production mode. To ensure a local-friendly setup (e.g., disabling production-only monitoring or analytics), it is better to explicitly set this to development.
# =============================================================================
# General Settings
# =============================================================================
ENVIRONMENT=development
# =============================================================================
# Authentication
# =============================================================================
| # ============================================================================= | ||
| ENVIRONMENT=production | ||
| GOOGLE_CLIENT_ID=your_google_client_id_here | ||
| GOOGLE_CLIENT_SECRET=your-google_client_secret_here |
There was a problem hiding this comment.
Summary
This PR updates
.env.exampleso new contributors can set up the project locally without accidentally using production URLs or real-looking secrets.