mirror of
https://github.com/HKUDS/DeepTutor.git
synced 2026-12-02 05:29:49 +08:00
The rolling summary is replayed as a system row on every later turn, so the language it happens to be written in keeps steering the answer long after the turns it condensed have scrolled out. The summarizer meta-prompt never stated a language, so a session held in a language other than the prompt's own came back to en/zh at the first compaction — #1511's "drifts after a few rounds". Both the English and Chinese meta-prompt now say which language the summary body itself must use, via the same language_label() the reply directive uses.