Skip to content

Build your personal knowledge base with Trilium Notes

feat(llm_chat): wrap the line of a tool call that waits for approval

Elian Doranf3c6869db595
diff --git a/apps/client/src/widgets/type_widgets/llm_chat/ToolCallCard.css b/apps/client/src/widgets/type_widgets/llm_chat/ToolCallCard.css
index 160aaed19e..1c331570ff 100644
--- a/apps/client/src/widgets/type_widgets/llm_chat/ToolCallCard.css
+++ b/apps/client/src/widgets/type_widgets/llm_chat/ToolCallCard.css
@@ -129,6 +129,13 @@
background: var(--card-background-color, var(--accented-background-color));
box-shadow: var(--card-box-shadow, none);
+ > .llm-chat-tool-call > :is(.expandable-section-summary, .expandable-line-header) > .expandable-section-label {
+ flex-wrap: wrap;
+ row-gap: 0;
+ white-space: normal;
+ overflow-wrap: anywhere;
+ }
+
> .llm-chat-tool-approval {
display: flex;
justify-content: flex-end;