agentx-python 0.6.25__tar.gz → 0.6.26__tar.gz
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 agentx-python might be problematic. Click here for more details.
- {agentx_python-0.6.25/agentx_python.egg-info → agentx_python-0.6.26}/PKG-INFO +1 -1
- {agentx_python-0.6.25 → agentx_python-0.6.26}/agentx/integrations/langchain.py +1 -0
- {agentx_python-0.6.25 → agentx_python-0.6.26}/agentx/tracing/tracer.py +14 -1
- agentx_python-0.6.26/agentx/version.py +1 -0
- {agentx_python-0.6.25 → agentx_python-0.6.26/agentx_python.egg-info}/PKG-INFO +1 -1
- agentx_python-0.6.25/agentx/version.py +0 -1
- {agentx_python-0.6.25 → agentx_python-0.6.26}/LICENSE +0 -0
- {agentx_python-0.6.25 → agentx_python-0.6.26}/README.md +0 -0
- {agentx_python-0.6.25 → agentx_python-0.6.26}/agentx/__init__.py +0 -0
- {agentx_python-0.6.25 → agentx_python-0.6.26}/agentx/agentx.py +0 -0
- {agentx_python-0.6.25 → agentx_python-0.6.26}/agentx/cli.py +0 -0
- {agentx_python-0.6.25 → agentx_python-0.6.26}/agentx/evaluations/__init__.py +0 -0
- {agentx_python-0.6.25 → agentx_python-0.6.26}/agentx/evaluations/_term.py +0 -0
- {agentx_python-0.6.25 → agentx_python-0.6.26}/agentx/evaluations/adapters/__init__.py +0 -0
- {agentx_python-0.6.25 → agentx_python-0.6.26}/agentx/evaluations/adapters/http_endpoint.py +0 -0
- {agentx_python-0.6.25 → agentx_python-0.6.26}/agentx/evaluations/adapters/precomputed.py +0 -0
- {agentx_python-0.6.25 → agentx_python-0.6.26}/agentx/evaluations/adapters/raw.py +0 -0
- {agentx_python-0.6.25 → agentx_python-0.6.26}/agentx/evaluations/client.py +0 -0
- {agentx_python-0.6.25 → agentx_python-0.6.26}/agentx/evaluations/datasets.py +0 -0
- {agentx_python-0.6.25 → agentx_python-0.6.26}/agentx/evaluations/evaluation_settings.py +0 -0
- {agentx_python-0.6.25 → agentx_python-0.6.26}/agentx/evaluations/models.py +0 -0
- {agentx_python-0.6.25 → agentx_python-0.6.26}/agentx/evaluations/prompts.py +0 -0
- {agentx_python-0.6.25 → agentx_python-0.6.26}/agentx/evaluations/redaction.py +0 -0
- {agentx_python-0.6.25 → agentx_python-0.6.26}/agentx/evaluations/reporting.py +0 -0
- {agentx_python-0.6.25 → agentx_python-0.6.26}/agentx/evaluations/results.py +0 -0
- {agentx_python-0.6.25 → agentx_python-0.6.26}/agentx/evaluations/runner.py +0 -0
- {agentx_python-0.6.25 → agentx_python-0.6.26}/agentx/evaluations/tracing.py +0 -0
- {agentx_python-0.6.25 → agentx_python-0.6.26}/agentx/exceptions.py +0 -0
- {agentx_python-0.6.25 → agentx_python-0.6.26}/agentx/feedback.py +0 -0
- {agentx_python-0.6.25 → agentx_python-0.6.26}/agentx/integrations/__init__.py +0 -0
- {agentx_python-0.6.25 → agentx_python-0.6.26}/agentx/integrations/_traced_call.py +0 -0
- {agentx_python-0.6.25 → agentx_python-0.6.26}/agentx/integrations/anthropic.py +0 -0
- {agentx_python-0.6.25 → agentx_python-0.6.26}/agentx/integrations/autogen.py +0 -0
- {agentx_python-0.6.25 → agentx_python-0.6.26}/agentx/integrations/crewai.py +0 -0
- {agentx_python-0.6.25 → agentx_python-0.6.26}/agentx/integrations/databricks.py +0 -0
- {agentx_python-0.6.25 → agentx_python-0.6.26}/agentx/integrations/google_adk.py +0 -0
- {agentx_python-0.6.25 → agentx_python-0.6.26}/agentx/integrations/google_genai.py +0 -0
- {agentx_python-0.6.25 → agentx_python-0.6.26}/agentx/integrations/litellm.py +0 -0
- {agentx_python-0.6.25 → agentx_python-0.6.26}/agentx/integrations/llamaindex.py +0 -0
- {agentx_python-0.6.25 → agentx_python-0.6.26}/agentx/integrations/moveworks.py +0 -0
- {agentx_python-0.6.25 → agentx_python-0.6.26}/agentx/integrations/openai.py +0 -0
- {agentx_python-0.6.25 → agentx_python-0.6.26}/agentx/integrations/openai_agents.py +0 -0
- {agentx_python-0.6.25 → agentx_python-0.6.26}/agentx/monitor/__init__.py +0 -0
- {agentx_python-0.6.25 → agentx_python-0.6.26}/agentx/monitor/client.py +0 -0
- {agentx_python-0.6.25 → agentx_python-0.6.26}/agentx/monitor/models.py +0 -0
- {agentx_python-0.6.25 → agentx_python-0.6.26}/agentx/monitor/online_evaluators.py +0 -0
- {agentx_python-0.6.25 → agentx_python-0.6.26}/agentx/monitor/patterns.py +0 -0
- {agentx_python-0.6.25 → agentx_python-0.6.26}/agentx/monitor/profile.py +0 -0
- {agentx_python-0.6.25 → agentx_python-0.6.26}/agentx/monitor/signals.py +0 -0
- {agentx_python-0.6.25 → agentx_python-0.6.26}/agentx/outcomes.py +0 -0
- {agentx_python-0.6.25 → agentx_python-0.6.26}/agentx/py.typed +0 -0
- {agentx_python-0.6.25 → agentx_python-0.6.26}/agentx/resources/__init__.py +0 -0
- {agentx_python-0.6.25 → agentx_python-0.6.26}/agentx/resources/agent.py +0 -0
- {agentx_python-0.6.25 → agentx_python-0.6.26}/agentx/resources/conversation.py +0 -0
- {agentx_python-0.6.25 → agentx_python-0.6.26}/agentx/resources/workforce.py +0 -0
- {agentx_python-0.6.25 → agentx_python-0.6.26}/agentx/tracing/__init__.py +0 -0
- {agentx_python-0.6.25 → agentx_python-0.6.26}/agentx/tracing/ci_types.py +0 -0
- {agentx_python-0.6.25 → agentx_python-0.6.26}/agentx/tracing/ingest_client.py +0 -0
- {agentx_python-0.6.25 → agentx_python-0.6.26}/agentx/util.py +0 -0
- {agentx_python-0.6.25 → agentx_python-0.6.26}/agentx_python.egg-info/SOURCES.txt +0 -0
- {agentx_python-0.6.25 → agentx_python-0.6.26}/agentx_python.egg-info/dependency_links.txt +0 -0
- {agentx_python-0.6.25 → agentx_python-0.6.26}/agentx_python.egg-info/entry_points.txt +0 -0
- {agentx_python-0.6.25 → agentx_python-0.6.26}/agentx_python.egg-info/not-zip-safe +0 -0
- {agentx_python-0.6.25 → agentx_python-0.6.26}/agentx_python.egg-info/requires.txt +0 -0
- {agentx_python-0.6.25 → agentx_python-0.6.26}/agentx_python.egg-info/top_level.txt +0 -0
- {agentx_python-0.6.25 → agentx_python-0.6.26}/setup.cfg +0 -0
- {agentx_python-0.6.25 → agentx_python-0.6.26}/setup.py +0 -0
- {agentx_python-0.6.25 → agentx_python-0.6.26}/tests/test_integration.py +0 -0
- {agentx_python-0.6.25 → agentx_python-0.6.26}/tests/test_integrations.py +0 -0
- {agentx_python-0.6.25 → agentx_python-0.6.26}/tests/test_span_tree.py +0 -0
|
@@ -252,6 +252,7 @@ class _TraceSpan:
|
|
|
252
252
|
cache_write_tokens: Optional[int] = None,
|
|
253
253
|
error: Optional[str] = None,
|
|
254
254
|
tool_calls: Optional[List[Dict[str, Any]]] = None,
|
|
255
|
+
metadata: Optional[Dict[str, Any]] = None,
|
|
255
256
|
) -> "_TraceSpan":
|
|
256
257
|
"""
|
|
257
258
|
Send one real child-span row parented to this span, with explicit timing (the caller's
|
|
@@ -306,6 +307,8 @@ class _TraceSpan:
|
|
|
306
307
|
wire["model"] = model
|
|
307
308
|
if child.tool_calls:
|
|
308
309
|
wire["tool_calls"] = child.tool_calls
|
|
310
|
+
if metadata:
|
|
311
|
+
wire["metadata"] = _safe_serialize(metadata)
|
|
309
312
|
if child._session_id:
|
|
310
313
|
wire["session_id"] = child._session_id
|
|
311
314
|
wire["span_id"] = child._span_id
|
|
@@ -740,8 +743,18 @@ class Tracer:
|
|
|
740
743
|
active_span = self.current_span
|
|
741
744
|
if active_span is None:
|
|
742
745
|
return
|
|
746
|
+
# The kind marker is what tells the engine (retrieval-context extraction for RAG
|
|
747
|
+
# judges) and the dashboard timeline that this span is a retrieval regardless of its
|
|
748
|
+
# name - the name-based "Retrieval N" heuristic remains only as a fallback for older
|
|
749
|
+
# traces, so custom names like "kb_search" work everywhere.
|
|
743
750
|
active_span.child_span(
|
|
744
|
-
name,
|
|
751
|
+
name,
|
|
752
|
+
start_time=start_time,
|
|
753
|
+
end_time=end_time,
|
|
754
|
+
duration_ms=duration_ms,
|
|
755
|
+
input=query,
|
|
756
|
+
output=output,
|
|
757
|
+
metadata={"kind": "retrieval"},
|
|
745
758
|
)
|
|
746
759
|
|
|
747
760
|
@contextmanager
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
VERSION = "0.6.26"
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
VERSION = "0.6.25"
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|