Skip to content

fix(openai-agents): Remove hosted MCP tool spans#6391

Open
alexander-alderman-webb wants to merge 1 commit into
masterfrom
webb/openai-agents/remote-tool
Open

fix(openai-agents): Remove hosted MCP tool spans#6391
alexander-alderman-webb wants to merge 1 commit into
masterfrom
webb/openai-agents/remote-tool

Conversation

@alexander-alderman-webb
Copy link
Copy Markdown
Contributor

@alexander-alderman-webb alexander-alderman-webb commented May 22, 2026

Description

Remove undocumented tool execution spans for hosted MCP tools.

Hosted MCP tools are executed by OpenAI's infrastructure. These cannot be traced as the client HTTP call does not occur in the process in which the SDK is installed.

The span has an artificial timestamp and no meaningful duration.

Issues

Reminders

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented May 22, 2026

Codecov Results 📊

282 passed | Total: 282 | Pass Rate: 100% | Execution Time: 43.49s

All tests are passing successfully.

✅ Patch coverage is 100.00%. Project has 15045 uncovered lines.

Files with missing lines (2)
File Patch % Lines
utils.py 15.38% ⚠️ 77 Missing
ai_client.py 17.24% ⚠️ 24 Missing

Generated by Codecov Action

@alexander-alderman-webb alexander-alderman-webb changed the title fix(openai-agents): Remove redundant hosted MCP tool spans fix(openai-agents): Remove hosted MCP tool spans May 22, 2026
@alexander-alderman-webb alexander-alderman-webb marked this pull request as ready for review May 22, 2026 11:18
@alexander-alderman-webb alexander-alderman-webb requested a review from a team as a code owner May 22, 2026 11:18
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.

2 participants