Return to plain LaTeX typing mode

This commit is contained in:
Hermes Agent
2026-09-12 12:17:07 +02:00
parent 7bd423452d
commit d07bed60e6
10 changed files with 90 additions and 191 deletions
+3 -3
View File
@@ -17,13 +17,13 @@ def test_load_default_config(tmp_path):
assert "Réponds directement" in cfg.system_prompt
def test_accept_word_equation_format(tmp_path):
def test_accept_unicode_format(tmp_path):
path = tmp_path / "config.json"
path.write_text(json.dumps({"provider": "ollama", "math_text_format": "word_equation"}), encoding="utf-8")
path.write_text(json.dumps({"provider": "ollama", "math_text_format": "unicode"}), encoding="utf-8")
cfg = load_config(path)
assert cfg.math_text_format == "word_equation"
assert cfg.math_text_format == "unicode"
def test_timeout_zero_disables_timeout(tmp_path):