Skip to content

Conversation

@okisdev
Copy link
Contributor

@okisdev okisdev commented Dec 19, 2025

This PR allows passing threadId to the backend.

This PR fixes #2951


Important

This PR enables passing threadId to the backend in various runtime configurations to manage conversation threads.

  • Behavior:
    • Allow passing threadId to backend in useAssistantTransportRuntime, useDataStreamRuntime, and useLocalRuntime.
    • threadId is used to identify conversation threads.
  • Documentation:
    • Update assistant-transport.mdx, local.mdx, and data-stream.mdx to include threadId in API payloads.
  • Code Changes:
    • Add threadId handling in useAssistantTransportRuntime.tsx, useDataStreamRuntime.ts, and useLocalRuntime.tsx.
    • Modify ChatModelAdapter.tsx and LocalThreadRuntimeCore.tsx to support threadId.
    • Update LocalThreadListRuntimeCore.tsx to set threadId for main thread.

This description was created by Ellipsis for dcf4006. You can customize this summary. It will automatically update as commits are pushed.

@changeset-bot
Copy link

changeset-bot bot commented Dec 19, 2025

🦋 Changeset detected

Latest commit: 9f01a7f

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@assistant-ui/react Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

Copy link
Contributor

@cubic-dev-ai cubic-dev-ai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No issues found across 10 files

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.

[Feature Request] Pass threadId along with messages into the backend

1 participant