Repository navigation
Python: let the DevUI item endpoint resolve list item ids - #9863
Closed
Manohar Paturi (ManoharPaturi) wants to merge 1 commit into
Closed
Manohar Paturi (ManoharPaturi) wants to merge 1 commit into
Manohar Paturi (ManoharPaturi) wants to merge 1 commit into
Conversation
list_items derives positional item ids while get_item only resolved the add path's uuid ids, so every id a client could discover through listing 404ed on retrieval. The per message conversion is now shared, and get_item resolves positional ids by rebuilding the addressed message's items, including call and result suffixes. Signed-off-by: Manohar Paturi <186662190+ManoharPaturi@users.noreply.github.com>
Manohar Paturi (ManoharPaturi)
temporarily deployed
to
github-app-auth
October 30, 2026 03:38 — with
GitHub Actions
Inactive
Manohar Paturi (ManoharPaturi)
requested review from
Darren Cohen (dargilco),
Jose Alvarez (jpalvarezl),
sophia-ramsey and
westey (westey-m)
as code owners
October 30, 2026 03:38
Manohar Paturi (ManoharPaturi)
temporarily deployed
to
github-app-auth
October 30, 2026 03:38 — with
GitHub Actions
Inactive
Contributor
Author
|
Understood, my mistake for opening this before the issue went through review. #9862 now follows the bug report template with the reproduction, and this PR stays closed until the team agrees. |
This branch was previously deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Motivation & Context
The conversation items endpoints disagreed about identity.
add_itemsmintsitem_<uuid>ids andget_itemresolved only those, whilelist_itemsderives positionalitem_<index>ids from the stored messages. The only ids a client can discover through listing, including agent run messages that never pass through the add path, answered 404 on the item retrieval endpoint that documents itself as the OpenAI standard.Description & Review Guide
list_itemsused inline is extracted into one helper, andget_itemresolves positional ids by rebuilding the addressed message's items with that same helper, covering theitem_<index>,item_<index>_call_<call id>, anditem_<index>_result_<call id>shapes the list emits.Related Issue
Fixes #9862
AI Assistance
Contribution Checklist
breaking changelabel (or add "[BREAKING]" to the title prefix, before or after any language prefix) — a workflow keeps the label and title prefix in sync automatically.