Skip to content

Add env config#103

Merged
yxjiang merged 8 commits intomainfrom
add-env-config
Aug 6, 2025
Merged

Add env config#103
yxjiang merged 8 commits intomainfrom
add-env-config

Conversation

@yxjiang
Copy link
Member

@yxjiang yxjiang commented Aug 6, 2025

Summary

Test Plan

(Please describe the testing that you did to verify your changes.)

yxjiang added 8 commits August 6, 2025 04:39
- Add config.py for centralized environment variable management
- Create env.example template for API key configuration
- Add setup_env.py interactive setup script
- Update requirements.txt with python-dotenv dependency
- Enhance README.md with environment setup instructions
- Update example_usage.py to show configuration status
- Ensure .env files are properly ignored by git
- Add configuration validation and status reporting
…directly

- Remove config.py module (unnecessary complexity)
- Use python-dotenv directly in example_usage.py
- Simplify env.example to only include OpenAI and Replicate APIs
- Update README.md and setup_env.py to reflect simplified approach
- Keep only essential API keys: OPENAI_API_KEY and REPLICATE_API_TOKEN
- Update pyproject.toml to exclude venv and site-packages from isort checks
- Auto-fix import order in example_usage.py and setup_env.py
- Ensure proper import grouping: stdlib, third-party, local imports
@yxjiang yxjiang merged commit 5f4c4fc into main Aug 6, 2025
1 check passed
@yxjiang yxjiang deleted the add-env-config branch August 6, 2025 14:03
@yxjiang yxjiang restored the add-env-config branch August 6, 2025 14:03
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