botserver/src/basic
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
..
compiler feat(automation): add unique constraint and refactor action execution 2025-11-02 20:57:53 -03:00
keywords feat: add trace logging, refactor bot streaming, add config fallback 2025-11-03 10:13:39 -03:00
mod.rs feat(automation): add unique constraint and refactor action execution 2025-11-02 20:57:53 -03:00