fix: OpenAI Instrumentation with Streaming Support#1086
Closed
fenilfaldu wants to merge 13 commits intomainfrom
Closed
fix: OpenAI Instrumentation with Streaming Support#1086fenilfaldu wants to merge 13 commits intomainfrom
fenilfaldu wants to merge 13 commits intomainfrom
Conversation
…molagents_system notebook
Codecov ReportAttention: Patch coverage is 📢 Thoughts on this report? Let us know! |
Contributor
There was a problem hiding this comment.
Pull Request Overview
This PR implements streaming support for OpenAI instrumentation while refactoring existing modules and updating error handling and telemetry logging. Key changes include:
- Adding synchronous and asynchronous streaming wrappers for agent, workflow, tool, and team methods in the Agno instrumentation module.
- Introducing a new Google ADK instrumentor and updating module import paths for various providers.
- Revising documentation in the instrumentation README to reflect new streaming support and common module usage.
Reviewed Changes
Copilot reviewed 9 out of 129 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
| agentops/instrumentation/agentic/google_adk/instrumentor.py | New instrumentor with patching for Google ADK telemetry. |
| agentops/instrumentation/agentic/google_adk/init.py | Exposes library info and instrumentor for Google ADK. |
| agentops/instrumentation/agentic/crewai/init.py | New CrewAI instrumentation module initialization. |
| agentops/instrumentation/agentic/agno/instrumentor.py | Extensive updates to support streaming via new wrapper parameters. |
| agentops/instrumentation/agentic/agno/init.py | Updated Agno library information and version management. |
| agentops/instrumentation/agentic/ag2/init.py | New AG2 instrumentation module with updated library info. |
| agentops/instrumentation/agentic/ag2/init.py (deleted version) | Removal of legacy AG2 instrumentation file. |
| agentops/instrumentation/init.py | Updates to module paths and provider configurations. |
| agentops/instrumentation/README.md | Revised documentation with usage examples and best practices. |
…pdate references across the codebase
Contributor
Author
|
Stale |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
📥 Pull Request
closes #1082
📘 Description
🧪 Testing
Tested with example script.