< Summary

Information
Class: NexusLabs.Needlr.AgentFramework.Workflows.Middleware.TranscriptEntry
Assembly: NexusLabs.Needlr.AgentFramework.Workflows
File(s): /home/runner/work/needlr/needlr/src/NexusLabs.Needlr.AgentFramework.Workflows/Middleware/TranscriptEntry.cs
Line coverage
83%
Covered lines: 5
Uncovered lines: 1
Coverable lines: 6
Total lines: 19
Line coverage: 83.3%
Branch coverage
N/A
Covered branches: 0
Total branches: 0
Branch coverage: N/A
Method coverage

Feature is only available for sponsors

Upgrade to PRO version

Metrics

MethodBranch coverage Crap Score Cyclomatic complexity Line coverage
.ctor(...)100%11100%
get_StageName()100%11100%
get_Kind()100%11100%
get_Messages()100%11100%
get_Options()100%210%
get_Response()100%11100%

File(s)

/home/runner/work/needlr/needlr/src/NexusLabs.Needlr.AgentFramework.Workflows/Middleware/TranscriptEntry.cs

#LineLine coverage
 1using Microsoft.Extensions.AI;
 2
 3namespace NexusLabs.Needlr.AgentFramework.Workflows.Middleware;
 4
 5/// <summary>
 6/// A single transcript entry capturing either a request sent to the LLM or a
 7/// response received from it.
 8/// </summary>
 9/// <param name="StageName">The pipeline stage that produced this entry.</param>
 10/// <param name="Kind">Whether this entry is a request or response.</param>
 11/// <param name="Messages">The chat messages, present for <see cref="TranscriptEntryKind.Request"/> entries.</param>
 12/// <param name="Options">The chat options, present for <see cref="TranscriptEntryKind.Request"/> entries.</param>
 13/// <param name="Response">The chat response, present for <see cref="TranscriptEntryKind.Response"/> entries.</param>
 1014public sealed record TranscriptEntry(
 615    string StageName,
 616    TranscriptEntryKind Kind,
 217    IReadOnlyList<ChatMessage>? Messages,
 018    ChatOptions? Options,
 1319    ChatResponse? Response);