1
0
mirror of https://github.com/coalaura/whiskr.git synced 2025-09-09 09:19:54 +00:00

show tool call cost

This commit is contained in:
Laura
2025-08-28 15:00:02 +02:00
parent 98c6976dfa
commit f14faa11f2
2 changed files with 27 additions and 1 deletions

View File

@@ -438,6 +438,7 @@ body:not(.loading) #loading {
overflow: hidden;
transition: 150ms;
height: calc(40px + 16px + var(--height));
position: relative;
}
.message .reasoning {
@@ -496,6 +497,21 @@ body:not(.loading) #loading {
width: max-content;
}
.tool .cost {
position: absolute;
top: 2px;
right: 2px;
font-size: 12px;
font-style: italic;
color: #a5adcb;
transition: 150ms opacity;
opacity: 0;
}
.tool:hover .cost {
opacity: 1;
}
.message .options {
display: flex;
gap: 4px;