From eaffdf353575b332621485a217a8bdf272641bac Mon Sep 17 00:00:00 2001 From: hanishkvc Date: Sun, 9 Nov 2025 00:38:22 +0530 Subject: [PATCH] SimpleChatTC:NSChatMessage:ToolResult User Input Background color Use css conditional attribute styling to change background color of the user input textarea to match the tool role message block color, when the user input textarea is in the TOOL.TEMP mode With this user can know that the user input area is currently showing and accepting tool result data for submission. --- tools/server/public_simplechat/readme.md | 6 ++++++ tools/server/public_simplechat/simplechat.css | 3 +++ 2 files changed, 9 insertions(+) diff --git a/tools/server/public_simplechat/readme.md b/tools/server/public_simplechat/readme.md index a29da6b09f..e1c952e14b 100644 --- a/tools/server/public_simplechat/readme.md +++ b/tools/server/public_simplechat/readme.md @@ -699,6 +699,12 @@ sliding window based drop off or even before they kick in, this can help in many * ALERT: ON-DISK-STORAGE structure of chat sessions have changed wrt tool responses. So old saves will no longer work wrt tool responses +* UI updates + * update logic to allow empty tool results to be sent to ai engine server + * css - when user input textarea is in tool result mode (ie wrt TOOL.TEMP role), change the background + color to match the tool role chat message block color, so that user can easily know that the input + area is being used for submitting tool response or user response, at any given moment in time. + #### ToDo diff --git a/tools/server/public_simplechat/simplechat.css b/tools/server/public_simplechat/simplechat.css index b0edd777da..b6054e678c 100644 --- a/tools/server/public_simplechat/simplechat.css +++ b/tools/server/public_simplechat/simplechat.css @@ -98,6 +98,9 @@ flex-shrink: 1; min-height: 40vh; } +#user-in[data-role="TOOL.TEMP"] { + background-color: lightyellow; +} button { padding-inline: 2vmin; }