Add Luna.Configuration with TOML-based agent and provider config
Implement configuration system with embedded TOML resources for agent and provider definitions, custom IConfigurationSource/Provider for agent and provider options, and DI extension methods. Includes config models for agents, providers, sessions, and Telegram integration.
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
namespace Luna.Configuration;
|
||||
|
||||
public class TelegramOptions
|
||||
{
|
||||
public required string BotToken { get; init; }
|
||||
public string? WebhookUrl { get; init; }
|
||||
public int PollingTimeoutSeconds { get; init; } = 30;
|
||||
public string[] AllowedUserIds { get; init; } = [];
|
||||
}
|
||||
Reference in New Issue
Block a user