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.
This commit is contained in:
hanishkvc 2025-11-09 00:38:22 +05:30
parent fe0cc8bef1
commit eaffdf3535
2 changed files with 9 additions and 0 deletions

View File

@ -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 * ALERT: ON-DISK-STORAGE structure of chat sessions have changed wrt tool responses. So old saves will
no longer work wrt tool responses 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 #### ToDo

View File

@ -98,6 +98,9 @@
flex-shrink: 1; flex-shrink: 1;
min-height: 40vh; min-height: 40vh;
} }
#user-in[data-role="TOOL.TEMP"] {
background-color: lightyellow;
}
button { button {
padding-inline: 2vmin; padding-inline: 2vmin;
} }