Skip to content

Commit 262c8bd

Browse files
committed
Enhance AG2 instrumentation with additional wrappers for async operations and improved context handling.
Refactor span attributes for consistency and clarity across agent interactions.
1 parent 4e2d116 commit 262c8bd

2 files changed

Lines changed: 479 additions & 83 deletions

File tree

agentops/instrumentation/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -332,7 +332,7 @@ def _perform_instrumentation(package_name: str):
332332
_has_agentic_library = True
333333

334334
# Special case: If mem0 is instrumented, also instrument concurrent.futures
335-
if package_name == "mem0" and is_newly_added:
335+
if (package_name == "mem0" or package_name == "autogen") and is_newly_added:
336336
try:
337337
# Check if concurrent.futures module is available
338338

0 commit comments

Comments
 (0)