Skip to content

Commit 6ed2997

Browse files
committed
fix: store resolved path for pending images to ensure processing succeeds
1 parent d5bdd3c commit 6ed2997

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

cli/src/commands/router.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -137,10 +137,10 @@ export async function routeUserPrompt(
137137
return
138138
}
139139

140-
// Add to pending images
140+
// Add to pending images - use resolvedPath so processing doesn't fail
141141
const filename = path.basename(resolvedPath)
142142
useChatStore.getState().addPendingImage({
143-
path: imagePath,
143+
path: resolvedPath,
144144
filename,
145145
})
146146

0 commit comments

Comments
 (0)