mirror of
https://github.com/mastra-ai/mastra.git
synced 2026-11-17 08:44:46 +00:00
fix(inngest): call observe fullStream base getter with the real output instance
createInngestAgent's observe() wraps fullStream and called the base getter with the destructurable proxy as receiver. The proxy can't reach MastraModelOutput's private fields, so the first read threw "Cannot read private member #options". Use the getter's own receiver, as core DurableAgent.observe() does, and add a regression test that reads observe(runId).fullStream on a real Inngest dev server with aimock. Co-Authored-By: mastra-platform[bot] <284800079+mastra-platform[bot]@users.noreply.github.com>
This commit is contained in:
parent
66c620c086
commit
3bcdda3fab
3 changed files with 85 additions and 2 deletions
Loading…
Add table
Add a link
Reference in a new issue