generalbots/botlib/src
Rodrigo Rodriguez (Pragmatismo) 0911448548 feat: Add switcher toggle functionality
- Added SWITCHER_TOGGLE message type (8) for reprocessing last user message with active switchers
- Backend: Handler fetches last user question from DB, mutates message in-place, injects switcher prompts into system_prompt
- Backend: Switcher replays skip message_history save to avoid duplication
- Frontend: toggleSwitcher() sends SWITCHER_TOGGLE when input empty, sendMessage() when text present
- Frontend: Added TOOL_EXEC and SWITCHER_TOGGLE to MessageType constants
- Fixed session_id shadowing bug in DB query (used session_id_for_query)
- Preserves conversation history for LLM context when reprocessing with switchers
2026-04-26 16:36:03 -03:00
..
i18n feat: Major workspace reorganization and documentation update 2026-04-19 08:14:25 -03:00
branding.rs feat: Major workspace reorganization and documentation update 2026-04-19 08:14:25 -03:00
error.rs feat: Major workspace reorganization and documentation update 2026-04-19 08:14:25 -03:00
http_client.rs feat: Major workspace reorganization and documentation update 2026-04-19 08:14:25 -03:00
lib.rs feat: Separate switchers from suggestions - server-side prompt resolution 2026-04-23 21:36:09 +00:00
limits.rs feat: Major workspace reorganization and documentation update 2026-04-19 08:14:25 -03:00
logging.rs feat: Major workspace reorganization and documentation update 2026-04-19 08:14:25 -03:00
message_types.rs feat: Add switcher toggle functionality 2026-04-26 16:36:03 -03:00
models.rs feat: Separate switchers from suggestions - server-side prompt resolution 2026-04-23 21:36:09 +00:00
resilience.rs feat: Major workspace reorganization and documentation update 2026-04-19 08:14:25 -03:00
version.rs feat: Major workspace reorganization and documentation update 2026-04-19 08:14:25 -03:00