mirror of
https://github.com/larchanka/manbot.git
synced 2026-05-13 13:39:40 +00:00
66 lines
1.4 KiB
JSON
66 lines
1.4 KiB
JSON
{
|
|
"lemonade": {
|
|
"baseUrl": "http://127.0.0.1:8000/api/v1",
|
|
"timeoutMs": 600000,
|
|
"retries": 3,
|
|
"numCtx": 16384
|
|
},
|
|
"telegram": {
|
|
"botToken": "YOUR_TELEGRAM_BOT_TOKEN",
|
|
"allowedUserIds": "123456789,987654321"
|
|
},
|
|
"taskMemory": {
|
|
"dbPath": "data/tasks.sqlite"
|
|
},
|
|
"logger": {
|
|
"logDir": "logs",
|
|
"logFile": "events.log"
|
|
},
|
|
"rag": {
|
|
"embedModel": "text-embedding-v3",
|
|
"dbPath": "data/rag.sqlite",
|
|
"embeddingDimensions": 768
|
|
},
|
|
"toolHost": {
|
|
"sandboxDir": "./data/sandbox"
|
|
},
|
|
"cron": {
|
|
"dbPath": "data/cron.sqlite"
|
|
},
|
|
"modelRouter": {
|
|
"small": "qwen2.5:0.5b",
|
|
"medium": "qwen2.5:1.5b",
|
|
"large": "qwen2.5:7b",
|
|
"plannerComplexity": "small"
|
|
},
|
|
"executor": {
|
|
"nodeTimeoutMs": 600000
|
|
},
|
|
"browserService": {
|
|
"headless": true,
|
|
"timeout": 30000,
|
|
"enableStealth": true,
|
|
"reuseContext": true,
|
|
"userDataDir": "data/browser"
|
|
},
|
|
"modelManager": {
|
|
"smallModelKeepAlive": "10m",
|
|
"mediumModelKeepAlive": "30m",
|
|
"largeModelKeepAlive": "60m",
|
|
"warmupPrompt": "hello"
|
|
},
|
|
"whisper": {
|
|
"modelName": "Whisper-Tiny",
|
|
"language": "auto",
|
|
"modelDir": "data/whisper-models"
|
|
},
|
|
"fileProcessor": {
|
|
"uploadDir": "data/uploads",
|
|
"maxFileSizeBytes": 52428800,
|
|
"textMaxInlineChars": 8000,
|
|
"ocrModel": "qwen3-vl",
|
|
"ocrEnabled": true
|
|
},
|
|
"maxConcurrentTasks": 1
|
|
}
|