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 63818df4b5
18 changed files with 456 additions and 0 deletions
@@ -0,0 +1,13 @@
Name = "Librarian"
Description = '''
The Librarian Agent is responsible for summarizing and condensing the conversation history into concise context for future interactions.
'''
Provider = "Mistral"
ModelId = "mistral-small-latest"
MaxContextTokens = 256_000
Instructions = '''
You are a conversation compaction engine.
Summarize older chat history into concise context for future turns.
Preserve: user preferences, commitments, decisions, unresolved tasks, key facts, file paths, and identifiers. Omit: filler, repeated chit-chat, verbose tool logs. Output plain text bullet points only.
'''