docs: Doku-Korrekturen – Model-Mapping, History-Optimierung, appsettings

ARCHITECTURE.md:
- Model-Mapping-Tabelle vervollständigt (alle 8 Aliase + Default)

ARCHITECTURE_QUICK.md:
- max_iterations: 50 → 100
- History-Optimierung korrekt beschrieben (ältere Chains nur Text, Tool-Results 20k Zeichen)
- appsettings-Beispiel korrigiert (AnthropicToken, KreaToken, richtige Keys/Werte)
This commit is contained in:
Meleki committed 2026-03-05 10:26:00 +01:00
1 parent 5a0b355acd
commit 43b09ae794
2 files changed
+12 -9

No files matched your search

+7 -9
View File
@@ -120,11 +120,11 @@ User-Input → POST /api/chat (SSE)
→ Claude API Call (SSE)
→ Token-für-Token an Client streamen
→ Bei tool_use → ToolService.Execute() → Ergebnis zurück → neuer API Call
→ Loop bis end_turn oder max_iterations (50)
→ Loop bis end_turn oder max_iterations (100)
→ Chain + Messages in DB speichern
```
**History-Optimierung:** Ältere Nachrichten werden auf 20% gekürzt, Tool-Results auf 500 Zeichen. Neueste 3 Chains bleiben vollständig.
**History-Optimierung:** Ältere Chains nur Text-Messages (keine Tool-Calls). Letzte Chain vollständig. Tool-Results auf 20.000 Zeichen gekürzt. Attachments nur für letzte User-Message.
---
@@ -196,13 +196,11 @@ User-Input → POST /api/chat (SSE)
```json
{
"AnthropicApiKey": "sk-ant-...",
"TelegramBotToken": "...",
"KreaApiKey": "...",
"DataDirectory": "data",
"MaxHistoryChains": 50,
"MaxIterations": 50,
"DefaultModel": "claude-sonnet-4-20250514"
"AnthropicToken": "", // Anthropic API Key (REQUIRED)
"MaxIterations": 100, // Max Tool-Loop Iterationen pro Chat
"PayloadLogging": false, // API-Payloads loggen (Debug)
"PayloadLoggingGzip": false, // Payload-Logs als .gz komprimieren
"KreaToken": "" // Krea API Token (optional)
}
```