microsoft.opentelemetry.a365.core.models.response module

microsoft.opentelemetry.a365.core.models.response.ResponseMessagesParam

Accepted type for Response.messages.

Supports plain strings, OutputMessages, or a structured tool result dict. A dict[str, object] is treated as a tool call result per OTEL spec and serialized directly via json.dumps.

alias of str | list[str] | OutputMessages | dict[str, object]

class microsoft.opentelemetry.a365.core.models.response.Response(messages)[source]

Bases: object

Response details from agent execution.

Accepts plain strings (backward compat), structured OutputMessages, or a dict for tool call results (per OTEL spec).

messages: str | list[str] | OutputMessages | dict[str, object]