From a53420532fbc510cb5e2be839f8588bc54914ce0 Mon Sep 17 00:00:00 2001 From: Justin Bollinger Date: Sat, 14 Feb 2026 10:06:45 -0500 Subject: [PATCH] feat: change default Ollama model to mistral and context to 2048 Co-Authored-By: Claude Opus 4.6 --- config.json.example | 4 ++-- hate_crack/main.py | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/config.json.example b/config.json.example index 4c3aa0f..fa5b07e 100644 --- a/config.json.example +++ b/config.json.example @@ -23,6 +23,6 @@ "hashview_url": "http://localhost:8443", "hashview_api_key": "", "hashmob_api_key": "", - "ollamaModel": "qwen2.5", - "ollamaNumCtx": 8192 + "ollamaModel": "mistral", + "ollamaNumCtx": 2048 } diff --git a/hate_crack/main.py b/hate_crack/main.py index 4a88faa..39af63f 100755 --- a/hate_crack/main.py +++ b/hate_crack/main.py @@ -462,7 +462,7 @@ except KeyError as e: e ) ) - ollamaModel = default_config.get("ollamaModel", "qwen2.5") + ollamaModel = default_config.get("ollamaModel", "mistral") try: ollamaNumCtx = int(config_parser["ollamaNumCtx"]) except KeyError as e: @@ -471,7 +471,7 @@ except KeyError as e: e ) ) - ollamaNumCtx = int(default_config.get("ollamaNumCtx", 8192)) + ollamaNumCtx = int(default_config.get("ollamaNumCtx", 2048)) hcatExpanderBin = "expander.bin" hcatCombinatorBin = "combinator.bin"