agnt5 0.2.8a7__cp310-abi3-macosx_11_0_arm64.whl → 0.2.8a9__cp310-abi3-macosx_11_0_arm64.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of agnt5 might be problematic. Click here for more details.
- agnt5/_core.abi3.so +0 -0
- agnt5/_telemetry.py +7 -2
- agnt5/agent.py +744 -171
- agnt5/client.py +18 -1
- agnt5/context.py +94 -0
- agnt5/exceptions.py +13 -0
- agnt5/function.py +18 -11
- agnt5/lm.py +124 -16
- agnt5/tool.py +110 -29
- agnt5/worker.py +421 -28
- agnt5/workflow.py +367 -72
- {agnt5-0.2.8a7.dist-info → agnt5-0.2.8a9.dist-info}/METADATA +1 -1
- agnt5-0.2.8a9.dist-info/RECORD +22 -0
- agnt5-0.2.8a7.dist-info/RECORD +0 -22
- {agnt5-0.2.8a7.dist-info → agnt5-0.2.8a9.dist-info}/WHEEL +0 -0
agnt5/_core.abi3.so
CHANGED
|
Binary file
|
agnt5/_telemetry.py
CHANGED
|
@@ -69,8 +69,13 @@ class OpenTelemetryHandler(logging.Handler):
|
|
|
69
69
|
|
|
70
70
|
# Include exception traceback if present (from logger.exception() or exc_info=True)
|
|
71
71
|
if record.exc_info:
|
|
72
|
-
#
|
|
73
|
-
|
|
72
|
+
# Use formatter to format the exception, or fall back to basic formatting
|
|
73
|
+
if self.formatter:
|
|
74
|
+
exc_text = self.formatter.formatException(record.exc_info)
|
|
75
|
+
else:
|
|
76
|
+
# Fallback: use basic traceback formatting
|
|
77
|
+
import traceback
|
|
78
|
+
exc_text = ''.join(traceback.format_exception(*record.exc_info))
|
|
74
79
|
message = f"{message}\n{exc_text}"
|
|
75
80
|
|
|
76
81
|
# Extract correlation IDs from LogRecord attributes (added by _CorrelationFilter)
|