Files
DeepTutor/deeptutor/capabilities/notes
zszz3 744d24a6bc refactor: state the LaTeX maths rule once as a shared prompt fragment
Chat, mastery, question FINISH and notes each carried their own copy of
the dollar-delimiter rule. They now reference {{shared:math_latex}}
(deeptutor/services/prompt/fragments), expanded by PromptManager at load
time; the notes capability expands the marker in its system.md, and
code-built prompts use shared_fragment(). The English notes prompt gains
the rule (and the mermaid line) its Chinese twin already had. The chat
loop no longer repeats the 'concise Markdown' line that runtime_policy
states.

Refs #2975
2026-12-01 11:05:06 +08:00
..