botserver/templates/default.gbai/default.gbot/config.csv
Rodrigo Rodriguez (Pragmatismo) b5e1501454 feat: add trace logging, refactor bot streaming, add config fallback
- 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.
2025-11-03 10:13:39 -03:00

777 B

1namevalue
2server_host0.0.0.0
3server_port8080
4sites_root/tmp
5llm-keynone
6llm-urlhttp://localhost:8081
7llm-model../../../../data/llm/DeepSeek-R1-Distill-Qwen-1.5B-Q3_K_M.gguf
8embedding-urlhttp://localhost:8082
9embedding-model../../../../data/llm/bge-small-en-v1.5-f32.gguf
10llm-serverfalse
11llm-server-pathbotserver-stack/bin/llm/build/bin
12llm-server-host0.0.0.0
13llm-server-port8081
14llm-server-gpu-layers35
15llm-server-n-moe23
16llm-server-ctx-size512
17llm-server-parallel8
18llm-server-cont-batchingtrue
19llm-server-mlocktrue
20llm-server-no-mmaptrue
21email-fromfrom@domain.com
22email-servermail.domain.com
23email-port587
24email-useruser@domain.com
25email-pass
26custom-serverlocalhost
27custom-port5432
28custom-databasemycustomdb
29custom-username
30custom-password