Files
opencode/packages
Kyle Mistele 0e8f7694ed fix: force tool calls when outputFormat is json_schema
When structured output is requested, the model must call the
StructuredOutput tool instead of responding with plain text.

Changes:
- Add toolChoice parameter to LLM.StreamInput
- Pass toolChoice: "required" to streamText when outputFormat is json_schema
- This forces the model to call a tool, ensuring structured output is captured
2026-01-12 23:05:43 -08:00
..
2025-12-23 15:16:20 +00:00
2025-12-23 20:36:55 -05:00
2025-12-23 15:16:20 +00:00
ci
2025-12-07 21:51:22 -05:00
2025-12-23 20:36:55 -05:00
2025-12-23 15:16:20 +00:00
2025-12-23 20:36:55 -05:00
2025-12-23 15:39:47 +00:00
ci
2025-12-10 02:57:39 +00:00
2025-12-23 15:16:20 +00:00
2025-12-23 15:16:20 +00:00