Update Modules/Memory_Manager.py
Browse files
Modules/Memory_Manager.py
CHANGED
|
@@ -232,13 +232,13 @@ def build_interface() -> gr.Interface:
|
|
| 232 |
return gr.Interface(
|
| 233 |
fn=Memory_Manager,
|
| 234 |
inputs=[
|
| 235 |
-
gr.Radio(label="Action", choices=["save", "list", "search", "delete"], value="list"),
|
| 236 |
-
gr.Textbox(label="Text", lines=3,
|
| 237 |
-
gr.Textbox(label="Tags", placeholder="tag1, tag2", max_lines=1),
|
| 238 |
-
gr.Textbox(label="Query", placeholder="tag:work AND tag:project OR meeting", max_lines=1),
|
| 239 |
-
gr.Slider(1, 200, value=20, step=1, label="Limit"),
|
| 240 |
-
gr.Textbox(label="Memory ID / Prefix",
|
| 241 |
-
gr.Checkbox(value=True, label="Include Tags"),
|
| 242 |
],
|
| 243 |
outputs=gr.Textbox(label="Result", lines=14),
|
| 244 |
title="Memory Manager",
|
|
|
|
| 232 |
return gr.Interface(
|
| 233 |
fn=Memory_Manager,
|
| 234 |
inputs=[
|
| 235 |
+
gr.Radio(label="Action", choices=["save", "list", "search", "delete"], value="list", info="Action to perform"),
|
| 236 |
+
gr.Textbox(label="Text", lines=3, info="Memory text (Save only)"),
|
| 237 |
+
gr.Textbox(label="Tags", placeholder="tag1, tag2", max_lines=1, info="Comma-separated tags (Save only)"),
|
| 238 |
+
gr.Textbox(label="Query", placeholder="tag:work AND tag:project OR meeting", max_lines=1, info="Search query (Search only)"),
|
| 239 |
+
gr.Slider(1, 200, value=20, step=1, label="Limit", info="Max results (List/Search only)"),
|
| 240 |
+
gr.Textbox(label="Memory ID / Prefix", max_lines=1, info="UUID or prefix (Delete only)"),
|
| 241 |
+
gr.Checkbox(value=True, label="Include Tags", info="Include tags in output (List/Search only)"),
|
| 242 |
],
|
| 243 |
outputs=gr.Textbox(label="Result", lines=14),
|
| 244 |
title="Memory Manager",
|