Repository navigation
Chat: maxPersistedMessages (4.iii 6f, parity 7, draft) - #3316
Closed
mattzcarey wants to merge 1 commit into
Closed
mattzcarey wants to merge 1 commit into
mattzcarey wants to merge 1 commit into
Conversation
|
agents
@cloudflare/ai-chat
@cloudflare/codemode
hono-agents
@cloudflare/shell
@cloudflare/think
@cloudflare/voice
@cloudflare/worker-bundler
commit: |
Contributor
|
✅ agents import sizes: no significant changes ( |
mattzcarey
force-pushed
the
slim/chat-fn-6f7
branch
from
November 26, 2026 23:35
06707c3 to
ed0ef9e
Compare
mattzcarey
force-pushed
the
slim/chat-fn-6f8
branch
from
November 26, 2026 23:35
5ee8413 to
0318af8
Compare
mattzcarey
force-pushed
the
slim/chat-fn-6f7
branch
from
November 26, 2026 23:46
ed0ef9e to
125fc53
Compare
mattzcarey
force-pushed
the
slim/chat-fn-6f8
branch
from
November 26, 2026 23:46
0318af8 to
222dae6
Compare
mattzcarey
force-pushed
the
slim/chat-fn-6f7
branch
from
November 26, 2026 23:53
125fc53 to
a5565e5
Compare
mattzcarey
force-pushed
the
slim/chat-fn-6f8
branch
from
November 26, 2026 23:53
222dae6 to
90dc99b
Compare
mattzcarey
force-pushed
the
slim/chat-fn-6f7
branch
from
November 27, 2026 00:02
a5565e5 to
4c0d82b
Compare
mattzcarey
force-pushed
the
slim/chat-fn-6f8
branch
from
November 27, 2026 00:02
90dc99b to
36fb009
Compare
mattzcarey
force-pushed
the
slim/chat-fn-6f7
branch
from
November 27, 2026 00:13
4c0d82b to
0b851df
Compare
mattzcarey
force-pushed
the
slim/chat-fn-6f8
branch
from
November 27, 2026 00:13
36fb009 to
d0bc9a3
Compare
mattzcarey
force-pushed
the
slim/chat-fn-6f7
branch
from
November 27, 2026 00:23
0b851df to
5d685c0
Compare
mattzcarey
force-pushed
the
slim/chat-fn-6f8
branch
2 times, most recently
from
November 27, 2026 00:28
2275378 to
5feb357
Compare
mattzcarey
changed the base branch from
slim/chat-fn-6f7
to
slim/chat-fn-6f6
November 27, 2026 00:28
mattzcarey
force-pushed
the
slim/chat-fn-6f6
branch
from
November 27, 2026 00:43
5bd41f6 to
e212f64
Compare
mattzcarey
force-pushed
the
slim/chat-fn-6f8
branch
from
November 27, 2026 00:44
5feb357 to
fb426e8
Compare
mattzcarey
force-pushed
the
slim/chat-fn-6f6
branch
from
November 27, 2026 00:49
e212f64 to
319afd4
Compare
mattzcarey
force-pushed
the
slim/chat-fn-6f8
branch
from
November 27, 2026 00:49
fb426e8 to
fc5a907
Compare
mattzcarey
force-pushed
the
slim/chat-fn-6f6
branch
from
November 27, 2026 01:00
319afd4 to
ddaec19
Compare
mattzcarey
force-pushed
the
slim/chat-fn-6f8
branch
from
November 27, 2026 01:01
fc5a907 to
d44a292
Compare
mattzcarey
force-pushed
the
slim/chat-fn-6f6
branch
from
November 27, 2026 01:07
ddaec19 to
69d042a
Compare
mattzcarey
force-pushed
the
slim/chat-fn-6f8
branch
from
November 27, 2026 01:07
d44a292 to
9a1be21
Compare
mattzcarey
force-pushed
the
slim/chat-fn-6f6
branch
from
November 27, 2026 01:20
69d042a to
7b28781
Compare
mattzcarey
force-pushed
the
slim/chat-fn-6f8
branch
from
November 27, 2026 01:20
9a1be21 to
4ab1b36
Compare
mattzcarey
force-pushed
the
slim/chat-fn-6f6
branch
from
November 27, 2026 01:29
7b28781 to
dd8385e
Compare
mattzcarey
force-pushed
the
slim/chat-fn-6f8
branch
from
November 27, 2026 01:30
4ab1b36 to
b7935a5
Compare
mattzcarey
force-pushed
the
slim/chat-fn-6f6
branch
from
November 27, 2026 01:39
dd8385e to
5729f9b
Compare
mattzcarey
force-pushed
the
slim/chat-fn-6f8
branch
from
November 27, 2026 01:39
b7935a5 to
612294e
Compare
mattzcarey
force-pushed
the
slim/chat-fn-6f6
branch
from
November 27, 2026 02:01
5729f9b to
8c510a2
Compare
mattzcarey
force-pushed
the
slim/chat-fn-6f8
branch
from
November 27, 2026 02:01
612294e to
64826c8
Compare
mattzcarey
force-pushed
the
slim/chat-fn-6f6
branch
from
November 27, 2026 02:04
8c510a2 to
669233f
Compare
mattzcarey
force-pushed
the
slim/chat-fn-6f8
branch
from
November 27, 2026 02:04
64826c8 to
ffe1b2b
Compare
mattzcarey
force-pushed
the
slim/chat-fn-6f6
branch
from
November 27, 2026 02:07
669233f to
b88b3b5
Compare
mattzcarey
force-pushed
the
slim/chat-fn-6f8
branch
from
November 27, 2026 02:07
ffe1b2b to
a24cde0
Compare
mattzcarey
force-pushed
the
slim/chat-fn-6f6
branch
from
November 27, 2026 02:13
b88b3b5 to
0cf01c7
Compare
mattzcarey
force-pushed
the
slim/chat-fn-6f8
branch
from
November 27, 2026 02:13
a24cde0 to
f329c07
Compare
mattzcarey
force-pushed
the
slim/chat-fn-6f6
branch
from
November 27, 2026 02:27
0cf01c7 to
e0ceb65
Compare
mattzcarey
force-pushed
the
slim/chat-fn-6f8
branch
from
November 27, 2026 02:27
f329c07 to
f2f8e5e
Compare
mattzcarey
force-pushed
the
slim/chat-fn-6f6
branch
from
November 27, 2026 04:12
e0ceb65 to
0fed73f
Compare
mattzcarey
force-pushed
the
slim/chat-fn-6f8
branch
from
November 27, 2026 04:12
f2f8e5e to
cdf3329
Compare
Member
Author
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
DRAFT, 4.iii 6f parity step 7, stacked on #3315.
ChatHost.options.maxPersistedMessages(RFCChatOptions) keeps at most that many messages: after a reply is stored, the oldest beyond the cap are deleted, as AIChatAgent's option does today. Test: with three questions and a cap of 2, after the reply the transcript is the newest question and the reply.Cost: one history read and one delete per reply when the option is set; none otherwise.