Group of 2 Under the hood
Reactive compaction now reports a structured error kind and whether the prompt cache was cold when it ran
What
- Reactive-compaction failure results now include a structured
errorKindfield (thrown,no_assistant_message,empty_summary, or the API's own error tag) alongside the existing free-text detail. - The reactive-compaction telemetry event now also reports
cacheCold(whether the prompt cache was cold) and astatusfield, threaded through as a newcacheColdoption.
Why
This makes it easier to tell why an automatic (reactive) compaction attempt failed and whether a cold prompt cache played a role, improving diagnosis of compaction issues.