add tests
This commit is contained in:
36
ChatBot.Tests/appsettings.Test.json
Normal file
36
ChatBot.Tests/appsettings.Test.json
Normal 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
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user