[FEATURE]: Support Cloudflare “Markdown for Agents” docs negotiation (Accept: text/markdown) #9266

Open
opened 2026-02-16 18:12:02 -05:00 by yindo · 1 comment
Owner

Originally created by @kdcokenny on GitHub (Feb 13, 2026).

Originally assigned to: @thdxr on GitHub.

Feature hasn't been suggested before.

  • I have verified this feature I'm about to request hasn't been suggested before.

Describe the enhancement you want to request

Cloudflare announced “Markdown for Agents” (2026-02-12):
https://blog.cloudflare.com/markdown-for-agents/
Request: add support in opencode’s docs fetching flow for Accept: text/markdown so agent clients can receive markdown instead of HTML when available.
Expected behavior:

Originally created by @kdcokenny on GitHub (Feb 13, 2026). Originally assigned to: @thdxr on GitHub. ### Feature hasn't been suggested before. - [x] I have verified this feature I'm about to request hasn't been suggested before. ### Describe the enhancement you want to request Cloudflare announced “Markdown for Agents” (2026-02-12): https://blog.cloudflare.com/markdown-for-agents/ Request: add support in opencode’s docs fetching flow for `Accept: text/markdown` so agent clients can receive markdown instead of HTML when available. Expected behavior: - Prefer markdown responses when supported - Keep current behavior unchanged when markdown is unavailable - Validate response handling for `Content-Type` and `Vary: Accept` Somewhat related: #8816
yindo added the discussion label 2026-02-16 18:12:02 -05:00
Author
Owner

@kdcokenny commented on GitHub (Feb 13, 2026):

If this is something y'all are interested in lmk and I'll take it up!

@kdcokenny commented on GitHub (Feb 13, 2026): If this is something y'all are interested in lmk and I'll take it up!
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#9266