Skip to content

fix(openai): improve responses api tracing - #1045

Merged
Abhijeet Prasad (AbhiPrasad) merged 1 commit into
mainfrom
abhi/update-btx-tests-0013-a8cd2b71
Nov 2, 2026
Merged

Abhijeet Prasad (AbhiPrasad) merged 1 commit into
mainfrom
abhi/update-btx-tests-0013-a8cd2b71

Conversation

@AbhiPrasad

@AbhiPrasad Abhijeet Prasad (AbhiPrasad) commented Nov 2, 2026 •

Copy link
Copy Markdown
Member

🤖 This text was AI-generated.

The updated btx specs require Responses API instructions in span inputs,
all streamed chat choices in span outputs, and validation of tool child
spans. Previously, those inputs and outputs could be incomplete, and the
validator could not match child spans.

Update the spec reference and recordings for both supported OpenAI versions.
Include instructions as a system message, collect each streamed choice by
index, and validate child spans using their parent IDs.

instructions + user input -> system and user messages
streamed choices 0, 1     -> span outputs 0, 1
llm span -> tool span     -> validate parent-child relationship

> 🤖 **This text was AI-generated.**

The updated btx specs require Responses API instructions in span inputs,
all streamed chat choices in span outputs, and validation of tool child
spans. Previously, those inputs and outputs could be incomplete, and the
validator could not match child spans.

Update the spec reference and recordings for both supported OpenAI versions.
Include instructions as a system message, collect each streamed choice by
index, and validate child spans using their parent IDs.

```text
instructions + user input -> system and user messages
streamed choices 0, 1     -> span outputs 0, 1
llm span -> tool span     -> validate parent-child relationship
```
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 2, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-02T15:54:41.928030Z 34bda6f PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@AbhiPrasad Abhijeet Prasad (AbhiPrasad) changed the title fix(openai): update btx specs to 0.0.13 fix(openai): improve responses api tracing Nov 2, 2026
@AbhiPrasad
Abhijeet Prasad (AbhiPrasad) merged commit fce255e into main Nov 2, 2026
98 checks passed
@AbhiPrasad
Abhijeet Prasad (AbhiPrasad) deleted the abhi/update-btx-tests-0013-a8cd2b71 branch November 2, 2026 16:04
@AbhiPrasad

Copy link
Copy Markdown
Member Author

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.

1 participant