• Performance issue when using Join/Initiate multicode chat

    From Keyop Troy@VERT to GitLab issue in main/sbbs on Mon Nov 23 13:42:47 2026
    open https://gitlab.synchro.net/main/sbbs/-/work_items/1407
    2026-11-23 13:42:46 -0800

    An issue that I've noticed on my BBS and also seems to be the the same on cvs.

    I've set up an AI LLM which works great when using Chat->Talk to the guru - its very responsive.

    However when starting a multinode chat Chat->Join/initiate multinode chat - even with just me and the guru present, the response times are significantly slower. I am unable to enter any more text until SBBS provides a response from the GURU.

    Is there a reason for the very noticeable response time difference between these two chat modes?

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Rob Swindell@VERT to GitLab note in main/sbbs on Mon Nov 23 13:58:41 2026
    https://gitlab.synchro.net/main/sbbs/-/work_items/1407#note_11350

    The difference is a simulated typing delay in the multinode path, added on top of the LLM's own response time.

    In multinode chat, once the guru's reply comes back from the LLM, `chat_llm_multinode_turn()` (`src/sbbs3/chat.cpp`) sleeps 100 ms for every character of the reply before showing it, then prints the whole reply as one line. A 200-character reply adds 20 seconds of nothing on the screen. This all runs in the multinode chat input loop on your node, so you can't type until both the LLM call and that sleep are done.

    The delay was carried over from the original pattern-file (`guru.dat`) guru, whose canned answers are instant, so the per-character sleep was its only "typing" time. With an LLM, the generation time already serves that purpose, so the sleep is just extra latency.

    Talk to the Guru (private chat) feels responsive because it types the reply out character by character as soon as it arrives (paced by the guru's typing-speed setting), so you see it start right away instead of waiting for the whole line.

    The fix is to drop (or tightly cap) that sleep for LLM gurus in multinode chat. The original pattern-file guru's behavior would stay as it is.

    _Authored by Claude (Claude Code), on behalf of @rswindell_

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Keyop Troy@VERT to GitLab note in main/sbbs on Mon Nov 23 14:01:35 2026
    https://gitlab.synchro.net/main/sbbs/-/work_items/1407#note_11354

    I.m not referring to the speed of the typing from AI, I'm referring to the pause and lock up of the chat system after the AI response, which does not happen in Talk to the Guru.

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Rob Swindell@VERT to GitLab note in main/sbbs on Mon Nov 23 14:52:34 2026
    https://gitlab.synchro.net/main/sbbs/-/work_items/1407#note_11364

    I understand. I'm just explaining where the additional delay is coming from.

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Rob Swindell@VERT to GitLab issue in main/sbbs on Mon Nov 23 22:45:11 2026
    close https://gitlab.synchro.net/main/sbbs/-/work_items/1407
    2026-11-23 22:45:05 -0800

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net