Skip to content

feat(openai_agents): Added New Semantic Convention for Agents (Request version bump 0.4.9 -> 0.4.10) #2971

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

adharshctr
Copy link
Contributor

@adharshctr adharshctr commented Jun 3, 2025

  • I have added tests that cover my changes.
  • If adding a new instrumentation or changing an existing one, I've added screenshots from some observability platform showing the change.
  • PR name follows conventional commits format: feat(instrumentation): ... or fix(instrumentation): ....
  • (If applicable) I have updated the documentation accordingly.

Important

Add new semantic conventions for agents and bump version to 0.4.10.

  • Semantic Conventions:
    • Add AGENT_NAME and AGENT_DESCRIPTION to SpanAttributes in __init__.py for agent semantic conventions.
  • Versioning:
    • Bump version from 0.4.9 to 0.4.10 in version.py and pyproject.toml.

This description was created by Ellipsis for f4882b0. You can customize this summary. It will automatically update as commits are pushed.

@adharshctr adharshctr marked this pull request as ready for review June 3, 2025 07:54
Copy link
Contributor

@ellipsis-dev ellipsis-dev bot left a comment

Choose a reason for hiding this comment

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

Important

Looks good to me! 👍

Reviewed everything up to f4882b0 in 37 seconds. Click for details.
  • Reviewed 35 lines of code in 3 files
  • Skipped 0 files when reviewing.
  • Skipped posting 3 draft comments. View those below.
  • Modify your settings and rules to customize what types of comments Ellipsis leaves. And don't forget to react with 👍 or 👎 to teach Ellipsis.
1. packages/opentelemetry-semantic-conventions-ai/opentelemetry/semconv_ai/__init__.py:72
  • Draft comment:
    New Agent semantic constants added. Consider adding inline doc comments or examples to clarify their usage and update related docs if needed.
  • Reason this comment was not posted:
    Confidence changes required: 33% <= threshold 50% None
2. packages/opentelemetry-semantic-conventions-ai/opentelemetry/semconv_ai/version.py:1
  • Draft comment:
    Version bump to 0.4.10 is correct; ensure corresponding changelog/release notes are updated.
  • Reason this comment was not posted:
    Confidence changes required: 0% <= threshold 50% None
3. packages/opentelemetry-semantic-conventions-ai/pyproject.toml:11
  • Draft comment:
    Project version updated to 0.4.10. Verify consistency with other configs and release docs.
  • Reason this comment was not posted:
    Confidence changes required: 0% <= threshold 50% None

Workflow ID: wflow_RepnoC6bQfkOy768

You can customize Ellipsis by changing your verbosity settings, reacting with 👍 or 👎, replying to comments, or adding code review rules.

@adharshctr
Copy link
Contributor Author

@nirga Could you please review this?
TIA!

@galkleinman
Copy link
Contributor

Hey @adharshctr,

Thanks for submitting this one. These attributes exist in OTEL incubating semconv, so you can just consume them out of there.

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