Hi there, I'm running agent.generate() with structuredOutput + memory on v1.2.0. Step 1 works perfectly — model calls the structured output tool with valid JSON (1,538 tokens, ~35s). But step 2 sends tool results back and the model generates 13K+ garbage tokens (300s+ until client disconnect).
With maxSteps: 1 to skip step 2, result.object is undefined even though the tool call in step 1 has the valid data.
Workaround: dropped structuredOutput, parsing JSON from result.text manually. Works but loses schema enforcement.
Is this a known issue? Is it fixed in 1.3.0? Happy to file a GitHub issue with full repro details. Thanks!