diff --git a/src/components/providers/ProviderActions.tsx b/src/components/providers/ProviderActions.tsx index fdead3c21..d776ae21a 100644 --- a/src/components/providers/ProviderActions.tsx +++ b/src/components/providers/ProviderActions.tsx @@ -28,7 +28,7 @@ interface ProviderActionsProps { onEdit: () => void; onDuplicate: () => void; onTest?: () => void; - onConfigureUsage: () => void; + onConfigureUsage?: () => void; onDelete: () => void; onRemoveFromConfig?: () => void; onDisableOmo?: () => void; @@ -263,15 +263,17 @@ export function ProviderActions({ )} - + {onConfigureUsage && ( + + )} {onOpenTerminal && (