- Added `trace!` logging in `bot_memory.rs` to record retrieved memory values for easier debugging. - Refactored `BotOrchestrator` in `bot/mod.rs`: - Removed duplicate session save block and consolidated message persistence. - Replaced low‑level LLM streaming with a structured `UserMessage` and `stream_response` workflow, improving error handling and readability. - Updated configuration loading in `config/mod.rs`: - Imported `get_default_bot` and enhanced `get_config` to fall back to the default bot configuration when the primary query fails. - Established a fresh DB connection for the fallback path to avoid borrowing issues.
777 B
777 B
| 1 | name | value |
|---|---|---|
| 2 | server_host | 0.0.0.0 |
| 3 | server_port | 8080 |
| 4 | sites_root | /tmp |
| 5 | llm-key | none |
| 6 | llm-url | http://localhost:8081 |
| 7 | llm-model | ../../../../data/llm/DeepSeek-R1-Distill-Qwen-1.5B-Q3_K_M.gguf |
| 8 | embedding-url | http://localhost:8082 |
| 9 | embedding-model | ../../../../data/llm/bge-small-en-v1.5-f32.gguf |
| 10 | llm-server | false |
| 11 | llm-server-path | botserver-stack/bin/llm/build/bin |
| 12 | llm-server-host | 0.0.0.0 |
| 13 | llm-server-port | 8081 |
| 14 | llm-server-gpu-layers | 35 |
| 15 | llm-server-n-moe | 23 |
| 16 | llm-server-ctx-size | 512 |
| 17 | llm-server-parallel | 8 |
| 18 | llm-server-cont-batching | true |
| 19 | llm-server-mlock | true |
| 20 | llm-server-no-mmap | true |
| 21 | email-from | from@domain.com |
| 22 | email-server | mail.domain.com |
| 23 | email-port | 587 |
| 24 | email-user | user@domain.com |
| 25 | email-pass | |
| 26 | custom-server | localhost |
| 27 | custom-port | 5432 |
| 28 | custom-database | mycustomdb |
| 29 | custom-username | |
| 30 | custom-password |