- 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.
36 lines
777 B
CSV
36 lines
777 B
CSV
name,value
|
|
|
|
server_host,0.0.0.0
|
|
server_port,8080
|
|
sites_root,/tmp
|
|
|
|
llm-key,none
|
|
llm-url,http://localhost:8081
|
|
llm-model,../../../../data/llm/DeepSeek-R1-Distill-Qwen-1.5B-Q3_K_M.gguf
|
|
|
|
embedding-url,http://localhost:8082
|
|
embedding-model,../../../../data/llm/bge-small-en-v1.5-f32.gguf
|
|
|
|
llm-server,false
|
|
llm-server-path,botserver-stack/bin/llm/build/bin
|
|
llm-server-host,0.0.0.0
|
|
llm-server-port,8081
|
|
llm-server-gpu-layers,35
|
|
llm-server-n-moe,23
|
|
llm-server-ctx-size,512
|
|
llm-server-parallel,8
|
|
llm-server-cont-batching,true
|
|
llm-server-mlock,true
|
|
llm-server-no-mmap,true
|
|
|
|
email-from,from@domain.com
|
|
email-server,mail.domain.com
|
|
email-port,587
|
|
email-user,user@domain.com
|
|
email-pass,
|
|
|
|
custom-server,localhost
|
|
custom-port,5432
|
|
custom-database,mycustomdb
|
|
custom-username,
|
|
custom-password,
|