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,12 @@
|
||||
namespace Luna.Configuration;
|
||||
|
||||
public class AgentOptions
|
||||
{
|
||||
public required string Name { get; set; }
|
||||
public string? DisplayName { get; init; }
|
||||
public string? Description { get; init; }
|
||||
public required string Provider { get; init; }
|
||||
public required string ModelId { get; init; }
|
||||
public required string Instructions { get; init; }
|
||||
public required int MaxContextTokens { get; init; }
|
||||
}
|
||||
Reference in New Issue
Block a user