Skip to content

armgit / strix

Public Imported from GitHub
0

Open-source AI penetration testing tool to find and fix your app’s vulnerabilities.

Adding stop word param

Ahmed Allam675364086bb6
diff --git a/pyproject.toml b/pyproject.toml
index 860811ce..63c27914 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -1,6 +1,6 @@
[tool.poetry]
name = "strix-agent"
-version = "0.1.6"
+version = "0.1.8"
description = "Open-source AI Hackers for your apps"
authors = ["Strix <[email protected]>"]
readme = "README.md"
diff --git a/strix/llm/llm.py b/strix/llm/llm.py
index 7cba3926..65804d1b 100644
--- a/strix/llm/llm.py
+++ b/strix/llm/llm.py
@@ -248,6 +248,7 @@ class LLM:
"model": self.config.model_name,
"messages": messages,
"temperature": self.config.temperature,
+ "stop": ["</function>"],
}
queue = get_global_queue()