dave
|
d07728f22b
|
refactor: split chat/transport/matrix/bot/messages.rs (912) into mod + on_room_message + handle_message
The 912-line messages.rs is split:
- on_room_message.rs: incoming Matrix event dispatch (~600 lines)
- handle_message.rs: LLM turn + reply streaming (~265 lines)
- mod.rs: format_user_prompt + tests (~70 lines)
Tests stay co-located with format_user_prompt in mod.rs.
All 2636 tests pass; clippy clean.
|
2026-04-27 02:21:54 +00:00 |
|