fix: render prompt template for variable extraction

This commit is contained in:
Abhishek Kumar 2026-04-09 15:20:56 +05:30
parent 87c8c5e2c8
commit 8b3dc02722
4 changed files with 48 additions and 14 deletions

View file

@ -353,7 +353,7 @@ export default function ToolsPage() {
>
<div className="flex items-center gap-4">
<div
className="w-10 h-10 rounded-lg flex items-center justify-center"
className="w-10 h-10 shrink-0 rounded-lg flex items-center justify-center"
style={{
backgroundColor:
tool.icon_color || getCategoryConfig(tool.category as ToolCategory)?.iconColor || "#3B82F6",
@ -416,7 +416,7 @@ export default function ToolsPage() {
>
<div className="flex items-center gap-4">
<div
className="w-10 h-10 rounded-lg flex items-center justify-center"
className="w-10 h-10 shrink-0 rounded-lg flex items-center justify-center"
style={{
backgroundColor:
tool.icon_color || getCategoryConfig(tool.category as ToolCategory)?.iconColor || "#3B82F6",

View file

@ -97,7 +97,7 @@ export function ToolSelector({
{tool.name}
</span>
{tool.description && (
<span className="text-xs text-muted-foreground truncate">
<span className="text-xs text-muted-foreground break-words">
{tool.description}
</span>
)}