Skip to content

Commit d97b963

Browse files
cbangera2claude
andcommitted
fix(web): let an indexed file win over a literal non-file chip path
Co-Authored-By: Claude Opus 5.5 <[email protected]>
1 parent 806067a commit d97b963

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

‎apps/web/src/components/ChatMarkdown.tsx‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2595,7 +2595,6 @@ function useChatMarkdownState({
25952595
return (
25962596
isProjectReadFileError(cause) &&
25972597
(cause.failure === "binary_file" ||
2598-
cause.failure === "path_not_file" ||
25992598
// The server only reads or closes after confirming a regular file.
26002599
(cause.failure === "operation_failed" &&
26012600
(cause.operation === "read" || cause.operation === "close")))

0 commit comments

Comments
 (0)