refactor: MaxHistory + ReminderInterval in appsettings auslagern

- MaxHistory (Default: 120): Max History-Messages pro API-Request
- ReminderInterval (Default: 30): System-Prompt Reminder alle N Messages (0 = deaktiviert)
- Beide Werte über Server-Settings-UI konfigurierbar
- Hardcoded Werte in ChatService durch konfigurierbare Felder ersetzt
This commit is contained in:
Meleki committed 2026-03-09 07:03:47 +01:00
1 parent 42d366ea47
commit 57560cbbea
4 files changed
+18 -8

No files matched your search

+2
View File
@@ -9,6 +9,8 @@
"Port": 19000,
"AnthropicToken": "",
"MaxIterations": 100,
"MaxHistory": 120,
"ReminderInterval": 30,
"PayloadLogging": false,
"PayloadLoggingGzip": false,
"KreaToken": "",