Add environment variable configuration support

- Add .env.example file with API key placeholders
- Update README.md with .env file setup instructions
- Add dotenv loading in main.py for environment variables

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
luohy15
2025-09-26 23:58:51 +08:00
parent 7bcc2cbd8a
commit 7fc9c28a94
3 changed files with 13 additions and 0 deletions

View File

@@ -124,6 +124,12 @@ You will need the OpenAI API for all the agents.
export OPENAI_API_KEY=$YOUR_OPENAI_API_KEY
```
Alternatively, you can create a `.env` file in the project root with your API keys (see `.env.example` for reference):
```bash
cp .env.example .env
# Edit .env with your actual API keys
```
### CLI Usage
You can also try out the CLI directly by running: