Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions eca-chat.el
Original file line number Diff line number Diff line change
Expand Up @@ -1896,10 +1896,11 @@ Append STATUS, TOOL-CALL-NEXT-LINE-SPACING and ROOTS"
"Update tool call UI for json output given CONTENT, TIME and STATUS."
(-let* (((&plist :name name :arguments arguments :server server :details details :id
id :summary summary) content)
(jsons (plist-get details :jsons)))
(jsons (plist-get details :jsons))
(label (or summary (format "Called tool: %s__%s" server name))))
(eca-chat--update-expandable-content
id
(concat (propertize summary 'font-lock-face 'eca-chat-mcp-tool-call-label-face)
(concat (propertize label 'font-lock-face 'eca-chat-mcp-tool-call-label-face)
" " status time)
(eca-chat--content-table
`(("Tool" . ,name)
Expand Down
Loading