fix: esc() Quote-Escaping für Attribut-Kontexte + cache_control für Sub-Agents/Telegram

- esc() um "→" Escaping erweitert (Bug: Anführungszeichen in value="..."-Attributen brachen HTML)
- cache_control: ephemeral zu RunAgentChat() hinzugefügt (Preparer/Review/Finalizer hatten kein Prompt Caching)
- cache_control: ephemeral zu ChatNonStreaming() hinzugefügt (Telegram hatte kein Prompt Caching)
- Trailing-Leerzeile in commands-ui.js bereinigt
This commit is contained in:
Meleki committed 2026-03-07 22:42:20 +01:00
1 parent e930268476
commit 9abb5fd217
3 files changed
+3 -2

No files matched your search

+2
View File
@@ -621,6 +621,7 @@ public class AnthropicService
{
["model"] = modelId,
["max_tokens"] = 8192,
["cache_control"] = new { type = "ephemeral" },
["messages"] = messages,
["stream"] = false
};
@@ -850,6 +851,7 @@ public class AnthropicService
{
["model"] = ctx.ModelId,
["max_tokens"] = 16384,
["cache_control"] = new { type = "ephemeral" },
["messages"] = messages,
["stream"] = false
};