Skip to content

Remove redundant weaker tracing assertions #261

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

Merged
merged 3 commits into from
Mar 21, 2025

Conversation

alexmojaki
Copy link
Contributor

Following up on #25, this removes uses of fetch_traces and fetch_ordered_spans where there's already a stronger assertion using fetch_normalized_spans. This is to help move towards the stronger style as much as possible, since people are still adding weaker assertions such as this in #91. The next step will be to find remaining uses of fetch_ordered_spans that can be replaced.

Copy link
Collaborator

@rm-openai rm-openai left a comment

Choose a reason for hiding this comment

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

thank you!

@rm-openai rm-openai merged commit cd9b9ab into openai:main Mar 21, 2025
5 checks passed
rm-openai added a commit that referenced this pull request Mar 21, 2025
smile920423 added a commit to smile920423/openai-agents-python that referenced this pull request Mar 31, 2025
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.

None yet

2 participants