mirror of
https://github.com/HKUDS/DeepTutor.git
synced 2026-12-02 13:29:37 +08:00
The chat state is shared app-wide, so a /chat thread is still loaded when a reading collection mounts. The effect that names the first turn's session in the URL ran before the boot effect and wrote that thread's id; the boot then took it for its own and never started a reading draft, so Explain / Translate / Guide went to the /chat thread without the page or selection. Bind the URL only after the collection has started its own draft, and never to the session that was open when it did. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>