Squash Odysseus development history

This commit is contained in:
pewdiepie-archdaemon
2026-09-11 06:04:19 +00:00
parent e5c99a5eee
commit 6ee6502010
2050 changed files with 538359 additions and 57745 deletions
+13
View File
@@ -0,0 +1,13 @@
import json
from src.preset_manager import PresetManager
def test_non_object_preset_store_falls_back_to_defaults(tmp_path):
(tmp_path / "presets.json").write_text(json.dumps([]))
manager = PresetManager(str(tmp_path))
assert manager.presets == PresetManager.DEFAULT_PRESETS
assert manager.get("custom")["enabled"] is False
assert manager.get("custom")["max_tokens"] == 32768