mirror of
https://github.com/kennethreitz/simplechat.git
synced 2026-06-05 23:00:17 +00:00
Update README.md and environment variable setup
This commit is contained in:
@@ -32,6 +32,15 @@ Start a chat session:
|
||||
$ simplechat [--provider=<provider>] [--model=<model>]
|
||||
```
|
||||
|
||||
API keys should be set in environment variables before running:
|
||||
|
||||
```bash
|
||||
$ export OPENAI_API_KEY="..."
|
||||
$ export ANTHROPIC_API_KEY="..."
|
||||
$ export XAI_API_KEY="..."
|
||||
$ export OLLAMA_API_KEY="..."
|
||||
```
|
||||
|
||||
Options:
|
||||
- `--provider`: LLM provider to use (openai/anthropic/xai/ollama)
|
||||
- `--model`: Specific model to use (e.g. o1-preview)
|
||||
|
||||
Reference in New Issue
Block a user