mirror of
https://github.com/mastra-ai/mastra.git
synced 2026-11-17 08:44:46 +00:00
Merge origin/main and slim delegated chunks for durable engines too
Main moved emitChunkEvent into agent/streams/events.ts and added slimNestedAgentChunks, but only the plain Agent publisher used it; DurableAgent and EventedAgent still published a sub-agent's full prompt, history and steps on every forwarded chunk (#29035, pinned as it.fails in agent-stream-log.scenario.test.ts). Apply slimNestedAgentChunks inside the shared emitChunkEvent so every engine publishes the same slimmed copy, drop the now-redundant special case in publisher.ts, and flip the scenario test to a plain `it`. Top-level chunks are still published unchanged. Fixes #29035 Co-Authored-By: mastra-platform[bot] <284800079+mastra-platform[bot]@users.noreply.github.com>
This commit is contained in:
commit
973766a4f1
5036 changed files with 397219 additions and 126537 deletions
Some files were not shown because too many files have changed in this diff Show more
Loading…
Add table
Add a link
Reference in a new issue