-
Notifications
You must be signed in to change notification settings - Fork 21
Expand file tree
/
Copy pathStepContext.cs
More file actions
21 lines (19 loc) · 853 Bytes
/
StepContext.cs
File metadata and controls
21 lines (19 loc) · 853 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
using MaIN.Domain.Entities;
using MaIN.Domain.Entities.Agents.Knowledge;
using MaIN.Domain.Models;
using MaIN.Infrastructure.Models;
namespace MaIN.Services.Services.Models;
public class StepContext
{
public required AgentDocument Agent { get; init; }
public required Chat Chat { get; init; }
public required Message RedirectMessage { get; init; }
public required List<string> TagsToReplaceWithFilter { get; init; }
public required string[] Arguments { get; init; }
public Mcp? McpConfig { get; init; }
public required Func<string, string, string?, string, string, Task> NotifyProgress { get; init; }
public required Func<Chat, Task> UpdateChat { get; init; }
public required string StepName { get; init; }
public Knowledge? Knowledge { get; set; }
public Func<LLMTokenValue, Task>? Callback { get; set; }
}