Load system prompt from persistent file
- Load system prompt from data/system-prompt.txt (persistent) - Fallback to AI_SYSTEM_PROMPT env variable - Fallback to hardcoded default - File can be edited without rebuilding container - Includes default UlfBot/SchrottBot personality Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
10
README.md
10
README.md
@@ -127,9 +127,17 @@ AI_SYSTEM_PROMPT=Du bist ein freundlicher Chat-Bot...
|
||||
|
||||
### Prompt-System
|
||||
|
||||
- **Globaler System-Prompt** (.env) - Immer aktiv
|
||||
- **Globaler System-Prompt** - Immer aktiv, geladen aus:
|
||||
1. `data/system-prompt.txt` (falls vorhanden)
|
||||
2. `AI_SYSTEM_PROMPT` aus `.env` (Fallback)
|
||||
- **Gruppen-Prompt** (pro Chat) - Ergänzt globalen Prompt
|
||||
|
||||
**Beispiel system-prompt.txt:**
|
||||
```
|
||||
data/system-prompt.txt
|
||||
```
|
||||
Die Datei kann bearbeitet werden, ohne den Container neu zu bauen.
|
||||
|
||||
## Technisches
|
||||
|
||||
### Architektur
|
||||
|
||||
Reference in New Issue
Block a user