File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -534,16 +534,17 @@ def add_agent_span(
534
534
agent_type : Optional [AgentType ] = None ,
535
535
) -> AgentSpan :
536
536
"""
537
- TODO: need description
537
+ Add an agent type span to the current parent.
538
538
539
- Args:
539
+ Parameters:
540
+ ----------
540
541
input: str: Input to the node.
541
542
output: Optional[str]: Output of the node. This can also be set on conclude().
542
543
name: Optional[str]: Name of the span.
543
544
duration_ns: Optional[int]: duration_ns of the node in nanoseconds.
544
545
created_at: Optional[datetime]: Timestamp of the span's creation.
545
546
metadata: Optional[Dict[str, str]]: Metadata associated with this span.
546
- agent_type:
547
+ agent_type: Optional[AgentType]: Agent type of the span.
547
548
548
549
Returns:
549
550
-------
You can’t perform that action at this time.
0 commit comments