KEMBAR78
Persist chat conversation ID for workflow tool usage by ericevans-nv · Pull Request #326 · NVIDIA/NeMo-Agent-Toolkit · GitHub
Skip to content

Conversation

@ericevans-nv
Copy link
Contributor

@ericevans-nv ericevans-nv commented May 30, 2025

Description

This pull request involves persisting the chat conversation ID as metadata, enabling it’s use in workflow tools. The conversation ID needed to be forwarded as a header to enable this capability for http request. The PR for that change can be tracked here -> NVIDIA/NeMo-Agent-Toolkit-UI#15.

By Submitting this PR I confirm:

  • I am familiar with the Contributing Guidelines.
  • We require that all contributors "sign-off" on their commits. This certifies that the contribution is your original work, or you have rights to submit it under the same license, or a compatible license.
    • Any contribution which contains commits that are not Signed-Off will not be accepted.
  • When the PR is ready for review, new or existing tests cover these changes.
  • When the PR is ready for review, the documentation is up to date with these changes.

@ericevans-nv ericevans-nv self-assigned this May 30, 2025
@ericevans-nv ericevans-nv added feature request New feature or request non-breaking Non-breaking change labels May 30, 2025
@ericevans-nv ericevans-nv requested a review from mdemoret-nv May 30, 2025 19:28
Signed-off-by: Eric Evans <194135482+ericevans-nv@users.noreply.github.com>
@ericevans-nv ericevans-nv force-pushed the feature/persist-chat-id-from-ui branch from 7bcd362 to ea894d3 Compare May 30, 2025 19:32
Signed-off-by: Eric Evans <194135482+ericevans-nv@users.noreply.github.com>
Signed-off-by: Eric Evans <194135482+ericevans-nv@users.noreply.github.com>
…s-nv/agent-iq into feature/persist-chat-id-from-ui

Signed-off-by: Eric Evans <194135482+ericevans-nv@users.noreply.github.com>
@ericevans-nv ericevans-nv force-pushed the feature/persist-chat-id-from-ui branch from 51e226e to 2462643 Compare June 4, 2025 04:48
@ericevans-nv ericevans-nv requested a review from mdemoret-nv June 4, 2025 04:58
Copy link
Collaborator

@mdemoret-nv mdemoret-nv left a comment

Choose a reason for hiding this comment

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

How did we end up with "Thread ID" as the identifier here? The PR description says "Conversation ID" the linked UI PR uses "Conversation ID", but were using "Thread ID".

I think we need to come up with concrete terms for the IDs that could possibly be used. We have:

  • session/conversation/thread ID: Chain of multiple inputs/outputs all in a row
  • invocation/trace/thread ID: ID representing one individual input/output pair (spans distributed execution)
  • thread/trace ID: ID representing one individual input/output pair (does not span distributed execution)
  • function ID: One input/output for a single function
  • span ID: Pair of start/stop events

We need to choose the naming convention we will use and then make that consistent throughout.

…messages.

Signed-off-by: Eric Evans <194135482+ericevans-nv@users.noreply.github.com>
Signed-off-by: Eric Evans <194135482+ericevans-nv@users.noreply.github.com>
…s-nv/agent-iq into feature/persist-chat-id-from-ui
…s-nv/agent-iq into feature/persist-chat-id-from-ui

Signed-off-by: Eric Evans <194135482+ericevans-nv@users.noreply.github.com>
…s-nv/agent-iq into feature/persist-chat-id-from-ui
Signed-off-by: Eric Evans <194135482+ericevans-nv@users.noreply.github.com>
@mdemoret-nv
Copy link
Collaborator

/merge

@rapids-bot rapids-bot bot merged commit 1ae4f6a into NVIDIA:develop Jun 18, 2025
12 checks passed
AnuradhaKaruppiah pushed a commit to AnuradhaKaruppiah/oss-agentiq that referenced this pull request Aug 4, 2025
This pull request involves persisting the chat conversation ID as metadata, enabling it’s use in workflow tools. The conversation ID needed to be forwarded as a header to enable this capability for http request. The PR for that change can be tracked here -> NVIDIA/NeMo-Agent-Toolkit-UI#15.

## By Submitting this PR I confirm:
- I am familiar with the [Contributing Guidelines](https://github.com/NVIDIA/AIQToolkit/blob/develop/docs/source/resources/contributing.md).
- We require that all contributors "sign-off" on their commits. This certifies that the contribution is your original work, or you have rights to submit it under the same license, or a compatible license.
  - Any contribution which contains commits that are not Signed-Off will not be accepted.
- When the PR is ready for review, new or existing tests cover these changes.
- When the PR is ready for review, the documentation is up to date with these changes.

Authors:
  - Eric Evans II (https://github.com/ericevans-nv)
  - David Gardner (https://github.com/dagardner-nv)
  - Anuradha Karuppiah (https://github.com/AnuradhaKaruppiah)
  - Michael Demoret (https://github.com/mdemoret-nv)

Approvers:
  - Michael Demoret (https://github.com/mdemoret-nv)

URL: NVIDIA#326
scheckerNV pushed a commit to scheckerNV/aiq-factory-reset that referenced this pull request Aug 22, 2025
This pull request involves persisting the chat conversation ID as metadata, enabling it’s use in workflow tools. The conversation ID needed to be forwarded as a header to enable this capability for http request. The PR for that change can be tracked here -> NVIDIA/NeMo-Agent-Toolkit-UI#15.

## By Submitting this PR I confirm:
- I am familiar with the [Contributing Guidelines](https://github.com/NVIDIA/AIQToolkit/blob/develop/docs/source/resources/contributing.md).
- We require that all contributors "sign-off" on their commits. This certifies that the contribution is your original work, or you have rights to submit it under the same license, or a compatible license.
  - Any contribution which contains commits that are not Signed-Off will not be accepted.
- When the PR is ready for review, new or existing tests cover these changes.
- When the PR is ready for review, the documentation is up to date with these changes.

Authors:
  - Eric Evans II (https://github.com/ericevans-nv)
  - David Gardner (https://github.com/dagardner-nv)
  - Anuradha Karuppiah (https://github.com/AnuradhaKaruppiah)
  - Michael Demoret (https://github.com/mdemoret-nv)

Approvers:
  - Michael Demoret (https://github.com/mdemoret-nv)

URL: NVIDIA#326
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

feature request New feature or request non-breaking Non-breaking change

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants