Skip to content

AgentRunDiagnosticsTranscriptExtensions

NexusLabs.Needlr.AgentFramework

NexusLabs.Needlr.AgentFramework.Diagnostics

AgentRunDiagnosticsTranscriptExtensions Class

Extensions for rendering an IAgentRunDiagnostics as a human-readable markdown transcript.

public static class AgentRunDiagnosticsTranscriptExtensions

Inheritance System.Object 🡒 AgentRunDiagnosticsTranscriptExtensions

Methods

AgentRunDiagnosticsTranscriptExtensions.ToTranscriptMarkdown(this IAgentRunDiagnostics) Method

Renders a deterministic markdown transcript of the agent run, including the input messages, ordered timeline of chat completions and tool calls, and the final output response. All numeric formatting uses System.Globalization.CultureInfo.InvariantCulture.

public static string ToTranscriptMarkdown(this NexusLabs.Needlr.AgentFramework.Diagnostics.IAgentRunDiagnostics diagnostics);

Parameters

diagnostics IAgentRunDiagnostics

The agent run diagnostics to render.

Returns

System.String
A markdown string. Never null.