Skip to content

Fixes import errors on agents trace processor#479

Merged
gustavocidornelas merged 2 commits intomainfrom
fixes-import-errors-on-agents-trace-processor
Jul 10, 2025
Merged

Fixes import errors on agents trace processor#479
gustavocidornelas merged 2 commits intomainfrom
fixes-import-errors-on-agents-trace-processor

Conversation

@viniciusdsmello
Copy link
Copy Markdown
Contributor

No description provided.

…s and type hinting

- Introduced a dynamic base class for `OpenlayerTracerProcessor` to handle the presence of the `agents` library, improving compatibility.
- Added type hinting for tracing-related parameters and return types, enhancing code clarity and type safety.
- Implemented an ImportError raise for better error handling when the `agents` library is not available.
- Updated dictionary type annotations for improved type specificity.
…essor

- Changed the type annotation of `dict_obj` in `_cleanup_dict_with_warning` from `Dict[str, Any]` to `Dict` for improved type specificity and clarity.
@gustavocidornelas gustavocidornelas merged commit 376ab2d into main Jul 10, 2025
5 checks passed
@gustavocidornelas gustavocidornelas deleted the fixes-import-errors-on-agents-trace-processor branch July 10, 2025 14:34
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.

2 participants