We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3482040 commit e102d64Copy full SHA for e102d64
cli/src/commands/router.ts
@@ -44,9 +44,11 @@ export async function routeUserPrompt(
44
45
const inputMode = useChatStore.getState().inputMode
46
const setInputMode = useChatStore.getState().setInputMode
47
+ const pendingImages = useChatStore.getState().pendingImages
48
49
const trimmed = inputValue.trim()
- if (!trimmed) return
50
+ // Allow empty messages if there are pending images attached
51
+ if (!trimmed && pendingImages.length === 0) return
52
53
// Handle bash mode commands
54
if (inputMode === 'bash') {
0 commit comments