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:
2026-04-04 04:09:57 +02:00
parent dcdd77b5ae
commit a4ed65e452
18 changed files with 456 additions and 0 deletions
+7
View File
@@ -0,0 +1,7 @@
namespace Luna.Configuration;
public class SessionOptions
{
public required float ContextTokenThreshold { get; init; }
public required int RetainedMessagesAfterCompacting { get; init; }
}