-
Notifications
You must be signed in to change notification settings - Fork 21
Expand file tree
/
Copy pathMaINSettings.cs
More file actions
31 lines (27 loc) · 888 Bytes
/
MaINSettings.cs
File metadata and controls
31 lines (27 loc) · 888 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
26
27
28
29
30
31
using MaIN.Services.Configuration;
namespace MaIN.Domain.Configuration;
public class MaINSettings
{
public BackendType BackendType { get; set; } = BackendType.Self;
public string? ModelsPath { get; set; }
public string? ImageGenUrl { get; set; }
public string? OpenAiKey { get; set; }
public string? GeminiKey { get; set; }
public string? DeepSeekKey { get; set; }
public string? AnthropicKey { get; set; }
public string? GroqCloudKey { get; set; }
public MongoDbSettings? MongoDbSettings { get; set; }
public FileSystemSettings? FileSystemSettings { get; set; }
public SqliteSettings? SqliteSettings { get; set; }
public SqlSettings? SqlSettings { get; set; }
public string? VoicesPath { get; set; }
}
public enum BackendType
{
Self = 0,
OpenAi = 1,
Gemini = 2,
DeepSeek = 3,
GroqCloud = 4,
Anthropic = 5,
}