generalbots/botui/ui/suite/chat
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
..
chat-init.js feat: Split chat.html into modular JS modules for #495 switcher support 2026-04-25 07:03:26 -03:00
chat-mentions.js feat: Split chat.html into modular JS modules for #495 switcher support 2026-04-25 07:03:26 -03:00
chat-messages.js feat: Split chat.html into modular JS modules for #495 switcher support 2026-04-25 07:03:26 -03:00
chat-state.js feat: Add switcher toggle functionality 2026-04-26 16:36:03 -03:00
chat-suggestions.js feat: Split chat.html into modular JS modules for #495 switcher support 2026-04-25 07:03:26 -03:00
chat-switchers.js feat: Add switcher toggle functionality 2026-04-26 16:36:03 -03:00
chat-theme.js feat: Split chat.html into modular JS modules for #495 switcher support 2026-04-25 07:03:26 -03:00
chat-websocket.js feat: Split chat.html into modular JS modules for #495 switcher support 2026-04-25 07:03:26 -03:00
chat.css feat: Major workspace reorganization and documentation update 2026-04-19 08:14:25 -03:00
chat.html feat: Split chat.html into modular JS modules for #495 switcher support 2026-04-25 07:03:26 -03:00
chat.js feat: Major workspace reorganization and documentation update 2026-04-19 08:14:25 -03:00
projector.html feat: Major workspace reorganization and documentation update 2026-04-19 08:14:25 -03:00