We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 49991c1 commit 3cf3f2cCopy full SHA for 3cf3f2c
1 file changed
frontend/src/components/console/settings/tools-mcp.tsx
@@ -232,10 +232,15 @@ export default function ToolsAndMcp() {
232
<div className="min-w-0">
233
<div
234
className={Boolean(tool.enabled)
235
- ? "text-sm font-medium leading-none"
236
- : "text-sm font-medium leading-none text-muted-foreground"}
+ ? "flex items-center gap-2 text-sm font-medium leading-none"
+ : "flex items-center gap-2 text-sm font-medium leading-none text-muted-foreground"}
237
>
238
- {tool.name}
+ <span className="truncate">{tool.name}</span>
239
+ {tool.price && tool.price > 0 ? (
240
+ <Badge variant="default" className="shrink-0">
241
+ {tool.price / 1000} 积分/次
242
+ </Badge>
243
+ ) : null}
244
</div>
245
<TooltipProvider delayDuration={500}>
246
<Tooltip>
0 commit comments