< Summary

Information
Class: UIBlazor.Services.Models.ChatDelta
Assembly: UIBlazor
File(s): /home/runner/work/InvAit/InvAit/UIBlazor/Services/Models/ChatDelta.cs
Tag: 14_22728831704
Line coverage
0%
Covered lines: 0
Uncovered lines: 4
Coverable lines: 4
Total lines: 30
Line coverage: 0%
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
get_Role()100%210%
get_Content()100%210%
get_ReasoningContent()100%210%
get_ToolCalls()100%210%

File(s)

/home/runner/work/InvAit/InvAit/UIBlazor/Services/Models/ChatDelta.cs

#LineLine coverage
 1namespace UIBlazor.Services.Models;
 2
 3using System.Text.Json.Serialization;
 4
 5public class ChatDelta
 6{
 7    /// <summary>
 8    /// The role of the message, which can be "system", "assistant", "user" or "tool"
 9    /// </summary>
 10    [JsonPropertyName("role")]
 011    public string Role { get; set; } = string.Empty;
 12
 13    /// <summary>
 14    /// The content of the message with think block
 15    /// </summary>
 16    [JsonPropertyName("content")]
 017    public string? Content { get; set; }
 18
 19    /// <summary>
 20    /// Optional. Content of message showed in think block
 21    /// </summary>
 22    [JsonPropertyName("reasoning_content")]
 023    public string? ReasoningContent { get; set; }
 24
 25    /// <summary>
 26    /// Optional. Native tools to be executed
 27    /// </summary>
 28    [JsonPropertyName("tool_calls")]
 029    public IReadOnlyList<ToolCall>? ToolCalls { get; set; }
 30}