Skip to content

Persist request context across Durable Object hibernation.#912

Merged
threepointone merged 1 commit into
mainfrom
sp/update-deps-and-persist-request-context
Feb 14, 2026
Merged

Persist request context across Durable Object hibernation.#912
threepointone merged 1 commit into
mainfrom
sp/update-deps-and-persist-request-context

Conversation

@threepointone

Copy link
Copy Markdown
Contributor

Persist _lastBody and _lastClientTools to SQLite so custom body fields and client tool schemas survive Durable Object hibernation during tool continuation flows (issue #887). Add test coverage for body forwarding during tool auto-continuation, and update JSDoc for OnChatMessageOptions.body to document tool continuation and hibernation behavior.

Persist `_lastBody` and `_lastClientTools` to SQLite so custom body fields and client tool schemas survive Durable Object hibernation during tool continuation flows (issue #887). Add test coverage for body forwarding during tool auto-continuation, and update JSDoc for `OnChatMessageOptions.body` to document tool continuation and hibernation behavior.
@changeset-bot

changeset-bot Bot commented Feb 14, 2026

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: 0deaf7e

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 2 packages
Name Type
@cloudflare/ai-chat Patch
agents Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@pkg-pr-new

pkg-pr-new Bot commented Feb 14, 2026

Copy link
Copy Markdown

Open in StackBlitz

npm i https://pkg.pr.new/cloudflare/agents@912

commit: 0deaf7e

@threepointone
threepointone merged commit baa87cc into main Feb 14, 2026
4 checks passed
@threepointone
threepointone deleted the sp/update-deps-and-persist-request-context branch February 14, 2026 16:41
@github-actions github-actions Bot mentioned this pull request Feb 14, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant