make tool icons a bit larger, update copy
This commit is contained in:
parent
20503cd256
commit
995e8d80be
3 changed files with 4 additions and 4 deletions
|
|
@ -319,7 +319,7 @@ export function Chat() {
|
|||
inputId={item.message.id}
|
||||
/>
|
||||
</>
|
||||
) : item.message.role === "tool" ? null : item.message.role === // /> // toolCallId={item.message.toolCallId} // contextItems={item.contextItems} // <ToolOutput
|
||||
) : item.message.role === "tool" ? null : item.message.role ===
|
||||
"assistant" &&
|
||||
item.message.toolCalls &&
|
||||
item.toolCallState ? (
|
||||
|
|
|
|||
|
|
@ -27,7 +27,7 @@ export const ArgsToggleIcon = ({
|
|||
}}
|
||||
className={`hover:description-muted/30 cursor-pointer select-none rounded px-1 py-0.5 hover:opacity-80 ${isShowing ? "bg-description-muted/30" : "bg-transparent"}`}
|
||||
>
|
||||
<CodeBracketIcon className="h-2.5 w-2.5 flex-shrink-0 opacity-60" />
|
||||
<CodeBracketIcon className="h-3 w-3 flex-shrink-0 opacity-60" />
|
||||
</div>
|
||||
<ToolTip id={argsTooltipId}>
|
||||
{isShowing ? "Hide args" : "Show args"}
|
||||
|
|
|
|||
|
|
@ -24,7 +24,7 @@ export function ToolTruncateHistoryIcon({
|
|||
}
|
||||
return (
|
||||
<ToolbarButtonWithTooltip
|
||||
tooltipContent="Truncate chat to this message"
|
||||
tooltipContent="Trim chat to this message"
|
||||
onClick={() => {
|
||||
dispatch(
|
||||
truncateHistoryToMessage({
|
||||
|
|
@ -34,7 +34,7 @@ export function ToolTruncateHistoryIcon({
|
|||
mainEditor?.commands.focus();
|
||||
}}
|
||||
>
|
||||
<BarsArrowUpIcon className="h-2.5 w-2.5 flex-shrink-0" />
|
||||
<BarsArrowUpIcon className="h-3 w-3 flex-shrink-0" />
|
||||
</ToolbarButtonWithTooltip>
|
||||
);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue