Open-source AI penetration testing tool to find and fix your app’s vulnerabilities.
Python agentsai-hackingai-penetration-testingai-pentestingai-securityartificial-intelligencebug-bountycode-qualityctf-toolscybersecuritycybersecurity-toolsethical-hackinghackingllm-securityoffensive-securitypenetration-testingpentesting-toolsred-teamingsecuritysecurity-automation
fix: route ollama models through ollama_chat so tool calling works (#562)
Rudra Dudhat11e5d1c2b3dd
diff --git a/strix/config/models.py b/strix/config/models.pyindex f5826433..7f6227f3 100644--- a/strix/config/models.py+++ b/strix/config/models.py@@ -39,6 +39,8 @@ class StrixProvider(MultiProvider):prefix=prefix,stripped_model_name=stripped_model_name,)+ if prefix == "ollama" and stripped_model_name:+ return self._get_fallback_provider("litellm"), f"ollama_chat/{stripped_model_name}"return self._get_fallback_provider("litellm"), original_model_name