Skip to content

Commit d8f9199

Browse files
remove TODO
1 parent 498636f commit d8f9199

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

src/galileo/logger.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -534,16 +534,17 @@ def add_agent_span(
534534
agent_type: Optional[AgentType] = None,
535535
) -> AgentSpan:
536536
"""
537-
TODO: need description
537+
Add an agent type span to the current parent.
538538
539-
Args:
539+
Parameters:
540+
----------
540541
input: str: Input to the node.
541542
output: Optional[str]: Output of the node. This can also be set on conclude().
542543
name: Optional[str]: Name of the span.
543544
duration_ns: Optional[int]: duration_ns of the node in nanoseconds.
544545
created_at: Optional[datetime]: Timestamp of the span's creation.
545546
metadata: Optional[Dict[str, str]]: Metadata associated with this span.
546-
agent_type:
547+
agent_type: Optional[AgentType]: Agent type of the span.
547548
548549
Returns:
549550
-------

0 commit comments

Comments
 (0)