fix: suppress qwen3.8fast CoT leak via enable_thinking:false (template ignores think:false)
This commit is contained in:
4
app.py
4
app.py
@@ -3,7 +3,7 @@
|
||||
ARGUS v2 — Autonomous Security Agent
|
||||
=====================================
|
||||
Rentable AI security agent. Real tool calls, real results, in the browser.
|
||||
Bitcoin (sats) settled. No KYC. qwen3.8-fast interprets every result.
|
||||
Bitcoin (sats) settled. No KYC. qwen3.8fast interprets every result.
|
||||
|
||||
Tooling:
|
||||
- Web vuln -> SUPERkali (.177): nuclei / ffuf / nmap / subfinder / httpx
|
||||
@@ -99,7 +99,7 @@ def agent_report(kind, target, raw):
|
||||
)
|
||||
body = json.dumps({"model": OLLAMA_MODEL, "prompt": prompt, "stream": False,
|
||||
"think": False,
|
||||
"options": {"num_predict": 1500}}).encode()
|
||||
"options": {"num_predict": 1500, "enable_thinking": False, "reasoning_effort": "low"}}).encode()
|
||||
req = urllib.request.Request(f"{OLLAMA_URL}/api/generate", data=body,
|
||||
headers={"Content-Type": "application/json"})
|
||||
try:
|
||||
|
||||
Reference in New Issue
Block a user