Skip to content

The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.

fix(composer): handle empty input in submit handler

Steven Enamakelb759242d0ac4
diff --git a/app/src/components/assistant-ui/elements/composer.tsx b/app/src/components/assistant-ui/elements/composer.tsx
index af301963df..bcb45863f5 100644
--- a/app/src/components/assistant-ui/elements/composer.tsx
+++ b/app/src/components/assistant-ui/elements/composer.tsx
@@ -23,7 +23,7 @@ import { cn } from '@/components/assistant-ui/lib/utils';
import type { LucideIcon } from 'lucide-react';
import { type ComponentProps, useMemo } from 'react';
-import { field, floating, mono } from './surfaces';
+import { field, floating } from './surfaces';
export interface ComposerCommand {
name: string;