LibreChat/packages/data-provider
Danny Avila c83336c7bf
📡 fix: Stream Compaction Summaries as They Are Written (#18174)
* 🧽 fix: Replace an Abandoned Summary Attempt's Text When Its Retry Streams

Summary deltas append to the in-flight summary part. Once the agents SDK
streams them while the provider is still responding, an attempt that is
then abandoned (a retry, a fallback provider) has already put text in the
part, and the next attempt's deltas would follow it until the completion
event replaced the lot.

A delta may now carry `reset`: the part's content is replaced instead of
extended, and a reset with no content empties it. The part keeps its slot
and stays in flight. Deltas without the field behave as before, so this
is inert until the SDK sends it.

* 🦿 chore: Bump Agents SDK to 4.2.3

4.2.3 dispatches each summary delta while the provider is still responding
and marks the first delta after an abandoned attempt `reset`, which the
chat reducer now honors. It also stops sending reasoning as summary text,
which is where the `incoming.content is not iterable` handler errors
during compaction came from.

The release changed only the SDK's own dev dependencies and overrides, so
the lockfile moves the package's version, URL and integrity and nothing
else.
2026-11-15 08:53:22 -05:00
..
specs 🖼️ feat: Let a Theme Ask for a Welcome Backdrop (#18125) 2026-11-14 22:59:26 +01:00
src 📡 fix: Stream Compaction Summaries as They Are Written (#18174) 2026-11-15 08:53:22 -05:00
.gitignore 🗃️ refactor: Remove Dead Data Schemas Methods and Data Provider Exports (#17113) 2026-10-15 12:23:29 +02:00
babel.config.js
check_updates.sh
jest.config.js
package.json 🪰 chore: Bump HTTP Dependencies and Scope Security Overrides (#17688) 2026-11-05 05:35:17 -05:00
tsconfig.build.json
tsconfig.json 🥟 ci: Type-Check Workspaces with bun check (#17009) 2026-10-12 06:40:07 -04:00
tsconfig.spec.json
tsdown.config.mjs 🔑 feat: Keep Dotted Record Keys in Admin Config Writes and Publish the Config Contract (#17322) 2026-10-22 09:59:08 +02:00