mirror of
https://github.com/HKUDS/OpenSpace.git
synced 2026-09-11 22:51:05 +00:00
fix(docker): add custom LLM provider env variables
This commit is contained in:
parent
6cfce64f99
commit
56413592f8
2 changed files with 8 additions and 0 deletions
|
|
@ -28,6 +28,11 @@ The easiest way to get OpenSpace running is using `docker-compose`.
|
|||
# OPENSPACE_API_KEY=your_key
|
||||
# OPENAI_API_KEY=your_key
|
||||
# ANTHROPIC_API_KEY=your_key
|
||||
|
||||
# Optionally, configure custom LLM models/providers:
|
||||
# OPENSPACE_MODEL=deepseek/deepseek-chat
|
||||
# OPENSPACE_LLM_API_KEY=sk-xxxx
|
||||
# OPENSPACE_LLM_API_BASE=https://api.deepseek.com/v1
|
||||
```
|
||||
|
||||
3. **Build and Run:**
|
||||
|
|
|
|||
|
|
@ -15,6 +15,9 @@ services:
|
|||
- OPENSPACE_API_KEY=${OPENSPACE_API_KEY:-}
|
||||
- OPENAI_API_KEY=${OPENAI_API_KEY:-}
|
||||
- ANTHROPIC_API_KEY=${ANTHROPIC_API_KEY:-}
|
||||
- OPENSPACE_MODEL=${OPENSPACE_MODEL:-}
|
||||
- OPENSPACE_LLM_API_KEY=${OPENSPACE_LLM_API_KEY:-}
|
||||
- OPENSPACE_LLM_API_BASE=${OPENSPACE_LLM_API_BASE:-}
|
||||
restart: unless-stopped
|
||||
|
||||
volumes:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue