The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.
Rust agent-orchestrationai-agentsai-assistantdesktopllmlocal-firstmcppersonal-aiprivacyrustsecond-braintauri
fix(assistant-ui): handle empty command input gracefully
Steven Enamakelfe94a3cc6f5b
diff --git a/app/src/components/assistant-ui/ui/command.tsx b/app/src/components/assistant-ui/ui/command.tsxindex f160fb3870..3f2c0dd34e 100644--- a/app/src/components/assistant-ui/ui/command.tsx+++ b/app/src/components/assistant-ui/ui/command.tsx@@ -24,35 +24,6 @@ function Command({ className, ...props }: React.ComponentProps<typeof CommandPri);}-function CommandDialog({- title = 'Command Palette',- description = 'Search for a command to run...',- children,- className,- showCloseButton = false,- ...props-}: Omit<React.ComponentProps<typeof Dialog>, 'children'> & {- title?: string;- description?: string;- className?: string;- showCloseButton?: boolean;- children: React.ReactNode;-}) {- return (- <Dialog {...props}>- <DialogHeader className="sr-only">- <DialogTitle>{title}</DialogTitle>- <DialogDescription>{description}</DialogDescription>- </DialogHeader>- <DialogContent- className={cn('top-1/3 translate-y-0 overflow-hidden rounded-xl! p-0', className)}- showCloseButton={showCloseButton}>- {children}- </DialogContent>- </Dialog>- );-}-function CommandInput({className,...props