webui: show more summary-text in tool cards
diff --git a/webui/src/web-components/sketch-tool-card.ts b/webui/src/web-components/sketch-tool-card.ts
index ed058a2..35843f7 100644
--- a/webui/src/web-components/sketch-tool-card.ts
+++ b/webui/src/web-components/sketch-tool-card.ts
@@ -134,7 +134,6 @@
.summary-text {
padding: 0.25em;
display: flex;
- max-width: 50%;
overflow: hidden;
text-overflow: ellipsis;
}
@@ -505,7 +504,6 @@
overflow: hidden;
text-overflow: ellipsis;
font-family: monospace;
- max-width: 50%;
}
`;
@@ -525,7 +523,7 @@
return html`
<sketch-tool-card .open=${this.open} .toolCall=${this.toolCall}>
<span slot="summary" class="summary-text"
- >${JSON.parse(this.toolCall?.input)?.thoughts}</span
+ >${JSON.parse(this.toolCall?.input)?.thoughts?.split("\n")[0]}</span
>
<div slot="input" class="thought-bubble">
<div class="markdown-content">