feat: Plan-Modus Hint an User-Nachrichten anhängen
- <hint> wird an jede User-Nachricht angehängt wenn Plan-Modus aktiv - Erinnert Agent an Einschränkungen: keine Dateiänderungen, keine Shell-Befehle (außer read-only), keine Commits - Analog zum bestehenden cat -n Hint
This commit is contained in:
1 parent
808c539e86
commit
b04b1a2cf9
1 file changed
+4
@@ -355,6 +355,10 @@ async function sendMessage() {
|
|||||||
clearPendingRefs();
|
clearPendingRefs();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (_planModeActive) {
|
||||||
|
msgText += `\n<hint>Plan-Modus ist aktiv. KEINE Dateien ändern, KEINE Shell-Befehle (außer read-only), KEINE Commits. Nur analysieren, Rückfragen stellen und Plan erstellen.</hint>`;
|
||||||
|
}
|
||||||
|
|
||||||
let inlineImages = []; // Bilder für Inline-Anzeige
|
let inlineImages = []; // Bilder für Inline-Anzeige
|
||||||
if (pendingFiles.length > 0) {
|
if (pendingFiles.length > 0) {
|
||||||
content = [];
|
content = [];
|
||||||
|
|||||||
Reference in new issue
Block a user