diff --git a/Services/SystemPromptBuilder.cs b/Services/SystemPromptBuilder.cs
index de2687b..6d64dc1 100644
--- a/Services/SystemPromptBuilder.cs
+++ b/Services/SystemPromptBuilder.cs
@@ -73,6 +73,17 @@ Alle Dateipfade in Tool-Aufrufen müssen relativ zu diesem Workspace sein oder a
});
}
+ // Rückfragen-Hinweis
+ if (agent.AllowUserChoice)
+ {
+ blocks.Add(new PromptBlock
+ {
+ Icon = "fa-question-circle",
+ Label = "Agent · Rückfragen (AllowUserChoice)",
+ Content = "## Rückfragen\nWenn du dir bei einer Aufgabe unsicher bist oder es mehrere sinnvolle Wege gibt, nutze das `ask_user_choice`-Tool um dem User eine Auswahlliste zu präsentieren. Nutze es, wenn eine Entscheidung vom User getroffen werden soll."
+ });
+ }
+
if (!string.IsNullOrWhiteSpace(session.Context))
blocks.Add(new PromptBlock { Icon = "fa-info-circle", Label = "Session · Kontext", Content = $"## Kontext\n{session.Context}" });
diff --git a/wwwroot/js/ui.js b/wwwroot/js/ui.js
index 0459ba8..966ce9b 100644
--- a/wwwroot/js/ui.js
+++ b/wwwroot/js/ui.js
@@ -60,6 +60,7 @@ function buildAgentCard(agent, skills) {
// Badges
const badges = [];
if (agent.toolChoice === 'any') badges.push(' Erzwungen');
+ if (agent.allowUserChoice) badges.push(' Rückfragen');
if (agent.autoCommit === 'mention') badges.push(' Anmerken');
if (agent.autoCommit === 'enforce') badges.push(' Erzwungen');
if (agent.autoCommit === 'forbid') badges.push(' Verboten');