Skip to content

Restore card rendering, maintain conversation history, and rename placeholder#590

Merged
asim merged 1 commit into
mainfrom
claude/add-wallet-transfers-74PHC
May 12, 2026
Merged

Restore card rendering, maintain conversation history, and rename placeholder#590
asim merged 1 commit into
mainfrom
claude/add-wallet-transfers-74PHC

Conversation

@asim
Copy link
Copy Markdown
Member

@asim asim commented May 12, 2026

RunHandler (/agent/run) now creates a Flow on every query. The response includes flow_id so the client can chain follow-ups via context_id. Sessions appear in the agent history at /agent.

RunRequest gains context_id field. RunResponse gains flow_id field. The Flow is saved with status "done", the answer text, tool steps, and parent_id for chaining.

Console JS tracks currentFlowId — first question creates a new session, follow-ups send the previous flow_id as context_id so the agent can see the conversation chain. Refreshing the page starts a new session (currentFlowId resets). Existing sessions are browsable at /agent.

RunHandler (/agent/run) now creates a Flow on every query. The
response includes flow_id so the client can chain follow-ups via
context_id. Sessions appear in the agent history at /agent.

RunRequest gains context_id field. RunResponse gains flow_id field.
The Flow is saved with status "done", the answer text, tool steps,
and parent_id for chaining.

Console JS tracks currentFlowId — first question creates a new
session, follow-ups send the previous flow_id as context_id so the
agent can see the conversation chain. Refreshing the page starts a
new session (currentFlowId resets). Existing sessions are browsable
at /agent.
@asim asim merged commit b0d8acb into main May 12, 2026
2 checks passed
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.

2 participants