diff --git a/src/components/ToolCallDisplay.tsx b/src/components/ToolCallDisplay.tsx index 48c8f7d2..fb604352 100644 --- a/src/components/ToolCallDisplay.tsx +++ b/src/components/ToolCallDisplay.tsx @@ -23,6 +23,7 @@ import { Image, AlertCircle, LucideIcon, + Settings, } from 'lucide-react'; import { cn } from '@/lib/utils'; import { VFSImage } from '@/components/VFSImage'; @@ -229,6 +230,20 @@ function getToolInfo(toolName: string, args: Record): ToolInfo callingTitle: args.prompt ? String(args.prompt) : 'Generating Image', }; + case 'view_available_models': + return { + icon: Eye, + title: 'Viewed Available Models', + callingTitle: 'Viewing Available Models', + }; + + case 'configure_image_generation': + return { + icon: Settings, + title: args.model ? `Configured image model: ${args.model}` : 'Configured Image Generation', + callingTitle: args.model ? `Configuring image model: ${args.model}` : 'Configuring Image Generation', + }; + default: { const formattedName = toolName.replace(/_/g, ' ').replace(/\b\w/g, l => l.toUpperCase()); return {