Mismatching outputFormat attribute specified in structured output section of SDK docs #9184

Closed
opened 2026-02-16 18:11:50 -05:00 by yindo · 1 comment
Owner

Originally created by @dtfiedler on GitHub (Feb 12, 2026).

Originally assigned to: @jayair on GitHub.

Description

This PR introduced support for format provided to prompt API - but docs show it as output_format.

https://opencode.ai/docs/sdk/#structured-output

OpenCode version

1.1.61

Originally created by @dtfiedler on GitHub (Feb 12, 2026). Originally assigned to: @jayair on GitHub. ### Description This PR introduced support for `format` provided to `prompt` API - but docs show it as `output_format`. https://opencode.ai/docs/sdk/#structured-output ### OpenCode version 1.1.61
yindo added the bugdocs labels 2026-02-16 18:11:50 -05:00
yindo closed this issue 2026-02-16 18:11:50 -05:00
Author
Owner

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

https://github.com/anomalyco/opencode/pull/13340

@dtfiedler commented on GitHub (Feb 13, 2026): https://github.com/anomalyco/opencode/pull/13340
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#9184