Skip to content

Commit 53bd58d

Browse files
CopilotnikhilNava
andcommitted
Improve Response.messages field documentation
Co-authored-by: nikhilNava <211831449+nikhilNava@users.noreply.github.com>
1 parent 482cb38 commit 53bd58d

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

  • libraries/microsoft-agents-a365-observability-core/microsoft_agents_a365/observability/core/models

libraries/microsoft-agents-a365-observability-core/microsoft_agents_a365/observability/core/models/response.py

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,9 @@ class Response:
99
"""Response details from agent execution."""
1010

1111
messages: list[str]
12-
"""The list of response messages."""
12+
"""The list of response messages from the agent.
13+
14+
Each message represents a text response generated by the agent during execution.
15+
Messages are serialized to JSON format for OpenTelemetry span attributes.
16+
An empty list is valid and represents no response messages.
17+
"""

0 commit comments

Comments
 (0)