aboutsummaryrefslogtreecommitdiff
path: root/chat/chat-ui.html
diff options
context:
space:
mode:
Diffstat (limited to 'chat/chat-ui.html')
-rw-r--r--chat/chat-ui.html5
1 files changed, 5 insertions, 0 deletions
diff --git a/chat/chat-ui.html b/chat/chat-ui.html
index 5eedce6..9f6dd4b 100644
--- a/chat/chat-ui.html
+++ b/chat/chat-ui.html
@@ -95,6 +95,11 @@
<label>Commands (comma-separated)</label>
<input type="text" id="moduleCommands" placeholder="e.g., /search, /find, /web">
</div>
+ <div class="form-group" style="margin-top:16px;padding-top:16px;border-top:1px solid var(--border);">
+ <label>Generate with AI</label>
+ <textarea id="aiModuleDesc" placeholder="Describe the module you want... e.g. A code review assistant that checks for security issues" style="min-height:60px;"></textarea>
+ <button class="btn btn-secondary" style="width:100%;margin-top:8px;" onclick="generateModuleWithAI(event)">🤖 Generate with AI</button>
+ </div>
</div>
<div class="modal-footer">
<button class="btn btn-secondary" onclick="closeModuleModal()">Cancel</button>