< Summary

Information
Class: UIBlazor.Models.AiTool
Assembly: UIBlazor
File(s): /home/runner/work/InvAit/InvAit/UIBlazor/Models/AiTool.cs
Tag: 14_22728831704
Line coverage
0%
Covered lines: 0
Uncovered lines: 4
Coverable lines: 4
Total lines: 21
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_Index()100%210%
get_Id()100%210%
get_Type()100%210%
get_Function()100%210%

File(s)

/home/runner/work/InvAit/InvAit/UIBlazor/Models/AiTool.cs

#LineLine coverage
 1namespace UIBlazor.Models;
 2
 3public class AiTool
 4{
 05    public int Index { get; set; } = 0;
 6
 7    /// <summary>
 8    /// Used later to submit the function result back to the AI.
 9    /// </summary>
 010    public string Id { get; set; } = string.Empty;
 11
 12    /// <summary>
 13    /// It will probably always be "function", indicating that the execution of a function is being requested.
 14    /// </summary>
 015    public string Type { get; set; } = "function";
 16
 17    /// <summary>
 18    /// Gets or sets the function to call, represented by the <see cref="AiToolToCall"/> object.
 19    /// </summary>
 020    public AiToolToCall Function { get; set; }
 21}