Fix tool icons (#2510)

* feat: add model id on token usage

* fix: tool icons
This commit is contained in:
Alex authored and GitHub committed 2026-05-29 09:21:59 +01:00
1 parent 418e2d989a
commit 666db29239
27 files changed
+78 -23

No files matched your search

+2 -1
View File
@@ -29,6 +29,7 @@ import Upload from '../upload/Upload';
import { isTouchDevice } from '../utils/browserUtils';
import { Button } from './ui/button';
import { type MultiSelectPopoverItem } from './MultiSelectPopover';
import ToolIcon from './ToolIcon';
import {
AttachFileButton,
AttachmentChipList,
@@ -1438,7 +1439,7 @@ export default function MessageInput({
const toolItems: MultiSelectPopoverItem[] = userTools.map((tool) => ({
id: tool.id,
label: tool.customName || tool.displayName,
icon: `/toolIcons/tool_${tool.name}.svg`,
icon: <ToolIcon name={tool.name} className="h-5 w-5" />,
}));
const selectedToolIds = userTools