< Summary

Information
Class: Services.AiAssistant.AiAgentProgressUpdate
Assembly: Services
File(s): /home/runner/work/Studio2Prod/Studio2Prod/AppRepository/AiAssistant/AiAgentProgressUpdate.cs
Line coverage
0%
Covered lines: 0
Uncovered lines: 5
Coverable lines: 5
Total lines: 15
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_Steps()100%210%
get_Phase()100%210%
get_LogLine()100%210%
get_LogIcon()100%210%
get_FromCache()100%210%

File(s)

/home/runner/work/Studio2Prod/Studio2Prod/AppRepository/AiAssistant/AiAgentProgressUpdate.cs

#LineLine coverage
 1using Services.ApiServices.OpenRouterApi.Models;
 2
 3namespace Services.AiAssistant;
 4
 5/// <summary>Обновление прогресса агентов / шагов для SSE (meta + log).</summary>
 6public sealed class AiAgentProgressUpdate
 7{
 08    public List<AiProcessStepDto> Steps { get; init; } = [];
 9    /// <summary>intent | db | agents | ai | done</summary>
 010    public string  Phase     { get; init; } = "agents";
 011    public string? LogLine   { get; init; }
 12    /// <summary>check | spin | error | info | cache</summary>
 013    public string? LogIcon   { get; init; }
 014    public bool?   FromCache { get; init; }
 15}