Files
DeepTutor/deeptutor/tutorbot
WeDone dccc7fc08b feat(tutorbot): add Zulip channel support
Add Zulip as a new messaging channel for DeepTutor tutorbot.

Features:
- Private message and stream message support
- Event queue API (register/get_events/deregister) for reliable message listening
- Three-layer infinite loop protection (max_message_id, own message filter, dedup)
- File upload/download with configurable timeout and retry
- Permission control via allow_from (supports both user_id and email)
- Stream group policy: mention (respond only when mentioned) / open (respond to all)
- KaTeX/LaTeX bidirectional conversion for math formulas
- Typing indicator support for private chats (Zulip native API)

Technical highlights:
- Uses call_endpoint with custom timeout instead of send_message/upload_file
  (default 15s timeout causes ReadTimeout on file uploads)
- Sync-async bridging via run_in_executor and run_coroutine_threadsafe
- Automatic event queue re-registration on BAD_EVENT_QUEUE_ID error

Tests: 88 unit tests covering all core functionality
2026-05-06 20:34:27 +08:00
..
2026-05-03 16:35:52 +08:00
2026-04-23 19:29:16 +08:00
2026-04-23 19:29:16 +08:00
2026-04-23 19:29:16 +08:00
2026-05-04 16:21:41 +08:00
2026-04-23 19:29:16 +08:00
2026-04-23 19:29:16 +08:00
2026-04-23 19:29:16 +08:00
2026-04-23 19:29:16 +08:00
2026-03-20 20:27:17 +08:00