-
Notifications
You must be signed in to change notification settings - Fork 21
Expand file tree
/
Copy pathMcp.cs
More file actions
25 lines (22 loc) · 807 Bytes
/
Mcp.cs
File metadata and controls
25 lines (22 loc) · 807 Bytes
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
using MaIN.Domain.Configuration;
namespace MaIN.Domain.Entities;
public class Mcp
{
public required string Name { get; init; }
public required List<string> Arguments { get; init; }
public required string Command { get; init; }
public required string Model { get; init; }
public string Location { get; set; } = "us-central1";
public Dictionary<string, string> Properties { get; set; } = [];
public BackendType? Backend { get; set; }
public Dictionary<string, string> EnvironmentVariables { get; set; } = [];
public static Mcp NotSet => new Mcp()
{
Arguments = [],
Command = string.Empty,
Model = string.Empty,
Properties = new Dictionary<string, string>(),
Name = string.Empty,
Backend = BackendType.Self
};
}