Skip to content

fix(openai-agents): Use name, not description in start_span#6323

Merged
sentrivana merged 1 commit into
masterfrom
ivana/fix-description
May 21, 2026
Merged

fix(openai-agents): Use name, not description in start_span#6323
sentrivana merged 1 commit into
masterfrom
ivana/fix-description

Conversation

@sentrivana
Copy link
Copy Markdown
Contributor

@sentrivana sentrivana commented May 21, 2026

We're using the name argument to start_span throughout the SDK. There are only two places where we still use the deprecated description arg instead. Fix those.

This aligns these two spans with equivalent spans from other AI integrations which all use name.

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented May 21, 2026

Codecov Results 📊

2205 passed | ⏭️ 154 skipped | Total: 2359 | Pass Rate: 93.47% | Execution Time: 7m 4s

All tests are passing successfully.

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

Files with missing lines (2)
File Patch % Lines
utils.py 13.86% ⚠️ 87 Missing
ai_client.py 16.67% ⚠️ 25 Missing

Generated by Codecov Action

@sentrivana sentrivana changed the title fix: Use name, not description in OpenAI agents spans fix(openai-agents): Use name, not description in start_span May 21, 2026
@sentrivana sentrivana marked this pull request as ready for review May 21, 2026 14:43
@sentrivana sentrivana requested a review from a team as a code owner May 21, 2026 14:43
@sentrivana sentrivana merged commit cca3d6f into master May 21, 2026
157 checks passed
@sentrivana sentrivana deleted the ivana/fix-description branch May 21, 2026 15:37
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