Skip to content

armgit / strix

Public Imported from GitHub
0

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

Drop prescriptive guidance from image-rejection placeholder

0xallam565fd70d08dd
diff --git a/strix/core/sessions.py b/strix/core/sessions.py
index 472da186..28bdf711 100644
--- a/strix/core/sessions.py
+++ b/strix/core/sessions.py
@@ -19,10 +19,7 @@ def open_agent_session(agent_id: str, path: Path) -> SQLiteSession:
return SQLiteSession(session_id=agent_id, db_path=path)
-_IMAGE_REJECTED_TEXT = (
- "[image rejected by the model — view_image is unsupported on this scan; "
- "do not call it again, continue without visual inspection]"
-)
+_IMAGE_REJECTED_TEXT = "[image rejected by the model]"
async def strip_latest_image_from_session(session: Session) -> bool: