add tests

This commit is contained in:
Leonid Pershin
2025-10-17 05:47:18 +03:00
parent f7e3024e7e
commit 03eb0f22a2
41 changed files with 4001 additions and 30 deletions

View File

@@ -0,0 +1,36 @@
{
"Logging": {
"LogLevel": {
"Default": "Information",
"Microsoft": "Warning",
"Microsoft.Hosting.Lifetime": "Information"
}
},
"TelegramBot": {
"BotToken": "test-bot-token"
},
"Ollama": {
"Url": "http://localhost:11434",
"DefaultModel": "llama3.2"
},
"AI": {
"Temperature": 0.7,
"MaxRetryAttempts": 3,
"RetryDelayMs": 1000,
"MaxRetryDelayMs": 10000,
"EnableExponentialBackoff": true,
"RequestTimeoutSeconds": 30,
"EnableHistoryCompression": true,
"CompressionThreshold": 10,
"CompressionTarget": 5,
"MinMessageLengthForSummarization": 50,
"MaxSummarizedMessageLength": 200,
"CompressionTimeoutSeconds": 15,
"StatusCheckTimeoutSeconds": 5
},
"Database": {
"ConnectionString": "Host=localhost;Port=5432;Database=test_chatbot;Username=test;Password=test",
"CommandTimeout": 30,
"EnableSensitiveDataLogging": false
}
}