From e2fac486ee5a5c66e16fe68a2fed95bd4cad3109 Mon Sep 17 00:00:00 2001 From: Dillon DuPont Date: Thu, 28 Aug 2025 17:19:36 -0400 Subject: [PATCH] Renamed Response to Message --- libs/python/agent/agent/human_tool/ui.py | 21 ++++++++++----------- 1 file changed, 10 insertions(+), 11 deletions(-) diff --git a/libs/python/agent/agent/human_tool/ui.py b/libs/python/agent/agent/human_tool/ui.py index 81421d55..d9d9ab11 100644 --- a/libs/python/agent/agent/human_tool/ui.py +++ b/libs/python/agent/agent/human_tool/ui.py @@ -459,11 +459,16 @@ def create_ui(): with gr.Group(): response_text = gr.Textbox( - label="Response", + label="Message", lines=3, - placeholder="Enter your response here..." + placeholder="Enter your message here..." + ) + submit_btn = gr.Button("📤 Submit Message", variant="primary", interactive=False) + status_display = gr.Textbox( + label="Status", + interactive=False, + value="Ready to receive calls..." ) - submit_btn = gr.Button("📤 Submit Response", variant="primary", interactive=False) # Action Accordions with gr.Tabs(): @@ -505,17 +510,11 @@ def create_ui(): with gr.Tab("🧰 Misc Actions"): with gr.Group(): misc_action_dropdown = gr.Dropdown( - label="Misc Action", + label="Action", choices=["wait"], value="wait" ) - misc_submit_btn = gr.Button("Submit Misc Action") - - status_display = gr.Textbox( - label="Status", - interactive=False, - value="Ready to receive calls..." - ) + misc_submit_btn = gr.Button("Submit Action") # Event handlers refresh_btn.click(