botserver/templates
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
..
announcements.gbai refactor(automation, llm): simplify service init and prompt handling 2025-11-03 08:23:03 -03:00
default.gbai/default.gbot feat: add trace logging, refactor bot streaming, add config fallback 2025-11-03 10:13:39 -03:00