[PR #5834] fix: Text file checker for shouldEncode #11607

Open
opened 2026-02-16 18:16:29 -05:00 by yindo · 0 comments
Owner

Original Pull Request: https://github.com/anomalyco/opencode/pull/5834

State: open
Merged: No


Issue with shouldEncode when trying to fetch certain file extensions in desktop app. Removed the octet/application-stream check but was still getting caught in stream.

Added a check for whether the file contained text content if the file type matches application-stream.

**Original Pull Request:** https://github.com/anomalyco/opencode/pull/5834 **State:** open **Merged:** No --- Issue with shouldEncode when trying to fetch certain file extensions in desktop app. Removed the octet/application-stream check but was still getting caught in stream. Added a check for whether the file contained text content if the file type matches application-stream.
yindo added the pull-request label 2026-02-16 18:16:29 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#11607