Files
DeepTutor/deeptutor
Bingxi Zhao (Frank) a0ce450d80 refactor: separate previous_questions from history_context in quiz generation
Fixes semantic overloading introduced by PR #281 — history_context (conversation
history) is no longer mixed with the generated-questions dedup list.

- Add dedicated `previous_questions` parameter through Generator pipeline
- Extract `_strip_template_knowledge_context()` reused by both generate and repair paths
- Add `_format_previous_questions()` with MAX_PREVIOUS_QUESTIONS=20 cap
- Move language labels into YAML templates (en/zh) to avoid language mixing
- Simplify coordinator to pass raw list instead of string concatenation

Made-with: Cursor
2026-04-10 20:48:47 +08:00
..
2026-03-20 20:27:17 +08:00