Skip to content

Conversation

areibman
Copy link
Contributor

📥 Pull Request

📘 Description
Addresses issues where AgentOps sessions fail to log silently by enhancing error visibility. This PR adds detailed logging for authentication and HTTP request failures, exposes client authentication status methods, and introduces a new debug_agentops.py script to help users diagnose connectivity and authentication problems.

🧪 Testing
The changes primarily improve error reporting and provide debugging tools. The new debug_agentops.py script was created to validate the improved error visibility and authentication checks. Manual testing involved simulating network issues and invalid API keys to confirm errors are now logged and reported correctly.


Open in Cursor Open in Web

Copy link

cursor bot commented Aug 11, 2025

Cursor Agent can help with this pull request. Just @cursor in comments and I'll start working on changes in this branch.
Learn more about Cursor Agents

Copy link

codecov bot commented Aug 11, 2025

Codecov Report

❌ Patch coverage is 31.03448% with 20 lines in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
agentops/client/http/http_client.py 25.00% 9 Missing ⚠️
agentops/client/client.py 36.36% 7 Missing ⚠️
agentops/__init__.py 33.33% 4 Missing ⚠️

📢 Thoughts on this report? Let us know!

Copy link
Contributor

This pull request has been automatically marked as stale because it has not had any activity in the last 14 days.

If no updates are made within 7 days, this PR will be automatically closed.

@github-actions github-actions bot added the stale label Aug 26, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants