You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Use the AI SDK's native message history in the agent #9455
Before every model call, the service drops the message history and writes one summary message instead. Since #9244, a past tool call also shows its summary and the first line of its result, but not its other arguments or the rest of the result, and the whole summary message is written again before every call. Every new tool also needs its own section in that summary, and the system prompt spends 1.4 KB describing its format.
Keep the SDK's messages as they happen, and append one block with the current dataflow. The chat should look the same as today.
Build each step from initialMessages, responseMessages and the dataflow block. In AI SDK 7, messages returned from prepareStep carry over to later steps, so returning them would stack one block per step.
Drop the description of the context format from the system prompt.
#9244 and #9259 fix the summary; this replaces it. #9423's report on the user's last execution moves into the dataflow block, and the docs section that #9424 adds is no longer needed.
Activity
bobbai00 commentedon Nov 16, 2026
/take