Skip to content

Reset UUID in frontend when a new chat is initiated.#78

Merged
kaleko merged 1 commit intomainfrom
bug/reset-session-id-on-new-chat
Apr 1, 2026
Merged

Reset UUID in frontend when a new chat is initiated.#78
kaleko merged 1 commit intomainfrom
bug/reset-session-id-on-new-chat

Conversation

@brianz
Copy link
Copy Markdown
Contributor

@brianz brianz commented Mar 31, 2026

This is a simple fix for when a new conversation is started. We need to
send a new UUID / conversationId to the backend, which maps to a new
AgentCore Runtime session. This will also be used in future changes for
long-term-memory.

Fixes #31

Issue #, if available: 31

Description of changes:

Simply reset the uuid state variable when new session button is clicked.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

This is a simple fix for when a new conversation is started. We need to
send a new UUID / conversationId to the backend, which maps to a new
AgentCore Runtime session. This will also be used in future changes for
long-term-memory.

Fixes #31
@brianz brianz requested a review from a team March 31, 2026 16:24
@kaleko kaleko merged commit 0f0e83a into main Apr 1, 2026
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Frontend "new chat box" doesn't reset backend state

3 participants