feat: Anweisungen-Feld für Agents mit EasyMDE-Editor

- AgentRecord: TaskInstruction (string, nullable)
- DB-Migration: task_instruction TEXT Spalte
- AgentEndpoint: Create/Update lesen taskInstruction
- SystemPromptBuilder: '## Anweisungen' Block nach Soul, nur wenn nicht leer
- HTML: Textarea #agentTaskInstruction nach Rückfragen-Checkbox
- agent-page.js: EasyMDE-Editor mit Init, Laden, Speichern, Destroy
This commit is contained in:
Meleki committed 2026-03-07 17:20:38 +01:00
1 parent 14e721f95b
commit 4f027360fd
6 files changed
+39 -5

No files matched your search

+3 -1
View File
@@ -199,9 +199,11 @@
Tool-Nutzung erzwingen <span class="checkbox-hint">(tool_choice: any)</span>
</label>
<label class="checkbox-label">
<input type="checkbox" id="agentAllowUserChoice">
<input type="checkbox" id="agentAllowUserChoice" checked>
Rückfragen erlauben <span class="checkbox-hint">(ask_user_choice Tool)</span>
</label>
<label>Anweisungen <small>(optional)</small></label>
<textarea id="agentTaskInstruction" rows="4" placeholder="Spezifische Anweisungen für diesen Agent (Markdown, optional)"></textarea>
<label>Git-Commit-Verhalten</label>
<select id="agentAutoCommit">
<option value="">Nicht erwähnen</option>