Tools
Mastra 1.66.0 adds a first-chunk streaming timeout and stops tracing overhead growing with response length
@mastra/core 1.66.0 (2026-09-11) adds `modelSettings.timeout.firstChunkMs`, which fails a stream that produces no real content in time and keeps fallback-model behavior. `Agent.stream()` no longer rebuilds observability contexts per chunk, a cost that previously grew with response length. The release also adds trace queries over span properties, metadata, feedback and scores on Postgres, ClickHouse and DuckDB, and redaction hooks around Observational Memory.
Source
↳ Follow the thread