Skip to content

Conversation

@fenilfaldu
Copy link
Contributor

@fenilfaldu fenilfaldu commented Jun 23, 2025

📥 Pull Request

closes #1023

📘 Description

  • Introduced a new function to update metadata on the current trace, supporting semantic conventions and user-friendly keys.
  • Enhanced trace management by dynamically building semantic convention mappings.
  • Improved error handling and logging for trace metadata updates.

🧪 Testing
Example script

@codecov
Copy link

codecov bot commented Jun 23, 2025

Codecov Report

Attention: Patch coverage is 4.25532% with 90 lines in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
agentops/__init__.py 4.25% 90 Missing ⚠️

📢 Thoughts on this report? Let us know!

@areibman
Copy link
Contributor

areibman commented Jul 1, 2025

Add docs @fenilfaldu . Otherwise looks good

@Dwij1704 Dwij1704 merged commit b0563b2 into main Jul 1, 2025
9 of 10 checks passed
@Dwij1704 Dwij1704 deleted the update_trace branch July 1, 2025 18:31
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.

[Feature]: Create a way to update trace metadata mid-run

5 participants