Uh oh!
There was an error while loading. Please reload this page.
feat: Add support for json schema in run command: opencode run --json <json schema> - #9319
feat: Add support for json schema in run command: opencode run --json <json schema>#9319richardanaya wants to merge 0 commit into
opencode run --json <json schema>#9319Conversation
Hey! Your PR title Please update it to start with one of:
Where See CONTRIBUTING.md for details. |
The following comment was made by an LLM, it may be inaccurate: Potential Duplicate Found:feat: support claude agent SDK-style structured outputs in the OpenCode SDK (#8161) This PR appears related as it deals with structured outputs/schema support, which is similar in scope to the JSON schema constraint feature in PR #9319. Both are about constraining model output to specific formats/schemas. Possibly Related (Different Scope): feat: add JSON Schema as source of truth for type definitions (#6987) This PR also mentions JSON Schema but appears to be focused on using JSON Schema for type definitions rather than runtime output constraints. |
opencode runopencode run --json <json schema>opencode run --json <json schema>opencode run --json <json schema>opencode run --json <json schema>opencode run --json <json schema>opencode run --json <json schema>opencode run --json <json schema>Thanks for your contribution! This PR doesn't have a linked issue. All PRs must reference an existing issue. Please:
See CONTRIBUTING.md for details. |
f1ae801 to
08fa7f7Compare
Fixes#9320
What does this PR do?
Allows you to constrain run commands output to a specific JSON schema.
How did you verify your code works?