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
K
Kyle Mistele committed
0e8f7694ed22863a889c73060153affab62bafd7
Parent: 34f9feb