Repository navigation
Chat: connectChat sends a connecting tab the transcript (4.iii 6f, parity 6, draft) - #3315
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: |
|
✅ agents import sizes: no significant changes ( |
840d8ff to
ca8b411
Compare
06707c3 to
ed0ef9e
Compare
ca8b411 to
76d22cb
Compare
ed0ef9e to
125fc53
Compare
76d22cb to
e6f8752
Compare
125fc53 to
a5565e5
Compare
e6f8752 to
8c79e89
Compare
a5565e5 to
4c0d82b
Compare
8c79e89 to
e3d8dac
Compare
4c0d82b to
0b851df
Compare
e3d8dac to
366f315
Compare
0b851df to
5d685c0
Compare
|
Closed per rv-2's pre-review: the connect frames (nothing on a plain connect, the queued view, the resume notice, the pre-stream park, the recovering frame) move with their only caller, the 6f switch PR. There the queued view comes from the waiting runs' inputs. |
DRAFT, 4.iii 6f parity step 6, stacked on #3314.
connectChat(deps, connection, { hydrationByteBudget })sends a connecting tab the transcript ascf_agent_chat_messages: the newest messages that fit the budget when one is set, throughframeTextso an oversized list is logged and not sent (#3218). This is the connect list the hosts send today. Test: a connecting tab gets one messages frame with the stored question.Not here: the messages waiting requests hold (AIChatAgent's queued view). Each question is stored when it arrives (#3308), so it is already in the transcript.
Cost: one transcript read per connect, as today.