-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathProviderAndToolContracts.cs
More file actions
50 lines (30 loc) · 1.4 KB
/
ProviderAndToolContracts.cs
File metadata and controls
50 lines (30 loc) · 1.4 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
namespace DotPilot.Core.Features.ControlPlaneDomain;
public sealed record ToolCapabilityDescriptor
{
public ToolCapabilityId Id { get; init; }
public string Name { get; init; } = string.Empty;
public string DisplayName { get; init; } = string.Empty;
public ToolCapabilityKind Kind { get; init; }
public bool RequiresApproval { get; init; }
public bool IsEnabledByDefault { get; init; }
public IReadOnlyList<string> Tags { get; init; } = [];
}
public sealed record ProviderDescriptor
{
public ProviderId Id { get; init; }
public string DisplayName { get; init; } = string.Empty;
public string CommandName { get; init; } = string.Empty;
public ProviderConnectionStatus Status { get; init; } = ProviderConnectionStatus.Unavailable;
public string StatusSummary { get; init; } = string.Empty;
public bool RequiresExternalToolchain { get; init; }
public IReadOnlyList<ToolCapabilityId> SupportedToolIds { get; init; } = [];
}
public sealed record ModelRuntimeDescriptor
{
public ModelRuntimeId Id { get; init; }
public string DisplayName { get; init; } = string.Empty;
public string EngineName { get; init; } = string.Empty;
public RuntimeKind RuntimeKind { get; init; }
public ProviderConnectionStatus Status { get; init; } = ProviderConnectionStatus.Unavailable;
public IReadOnlyList<string> SupportedModelFamilies { get; init; } = [];
}