Skip to content

Conversation

@Dwij1704
Copy link
Member

@Dwij1704 Dwij1704 commented May 7, 2025

📥 Pull Request

📘 Description
Fix #957

🧪 Testing

…butes based on input arguments and results. Include token usage attributes from callbacks for improved telemetry tracking.
@codecov
Copy link

codecov bot commented May 7, 2025

Codecov Report

Attention: Patch coverage is 0% with 19 lines in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
agentops/instrumentation/crewai/instrumentation.py 0.00% 19 Missing ⚠️

📢 Thoughts on this report? Let us know!

@Dwij1704
Copy link
Member Author

Dwij1704 commented May 7, 2025

Tokens are wonky, It adds up all previous call tokens
Screenshot 2025-05-07 at 9 42 15 PM

Script: https://gist.github.com/Dwij1704/ce16220027373ca88c0b014750f65798
This might help @the-praxs

Copy link
Contributor

@areibman areibman left a comment

Choose a reason for hiding this comment

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

Works when I ran it, thanks!

@dot-agi dot-agi merged commit ef7bb0c into main May 8, 2025
7 of 10 checks passed
@dot-agi dot-agi deleted the fix-crew-gemini branch May 8, 2025 18:23
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.

[Bug]: Gemini + CrewAI instrumentation not working correctly

4 participants