You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
-`EXECUTION_MONITOR_TOTAL_TOOL_LIMIT` (default: 10) - Total tool calls threshold
977
977
978
+
For local or custom Qwen-style deployments where flows run for hours or repeat commands, see the [vLLM Qwen3.5-27B-FP8 troubleshooting guide](../../examples/guides/vllm-qwen35-27b-fp8.md#issue-automation-flow-runs-for-hours-or-repeats-commands) for prompt-bounding and log-review guidance.
Copy file name to clipboardExpand all lines: examples/guides/vllm-qwen35-27b-fp8.md
+22Lines changed: 22 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -337,6 +337,28 @@ These benchmarks demonstrate that Qwen3.5-27B-FP8 provides excellent throughput
337
337
338
338
## Troubleshooting
339
339
340
+
### Issue: Automation Flow Runs for Hours or Repeats Commands
341
+
342
+
**Cause**: Broad penetration testing prompts can leave smaller local or custom models exploring too much state, especially when the task has no stopping criteria. Repeated commands may indicate model weakness, target complexity, tool-call/provider issues, or a flow that needs additional supervision.
343
+
344
+
**Solution**: First check the existing PentAGI execution controls before changing runtime behavior or assuming the target is broken:
345
+
346
+
- Enable execution monitoring with `EXECUTION_MONITOR_ENABLED=true` so the Adviser can review repeated or inefficient tool-call patterns.
347
+
- Tune `EXECUTION_MONITOR_SAME_TOOL_LIMIT` and `EXECUTION_MONITOR_TOTAL_TOOL_LIMIT` if mentor reviews happen too late or too often for your model and target.
348
+
- Enable planning with `AGENT_PLANNING_STEP_ENABLED=true` for complex pentest flows so specialist agents receive a bounded execution plan.
349
+
- Review hard tool-call limits with `MAX_GENERAL_AGENT_TOOL_CALLS` and `MAX_LIMITED_AGENT_TOOL_CALLS`; these remain the final guardrails for runaway executions.
350
+
351
+
Also narrow the task prompt. Instead of only `Perform penetration testing on the host 192.168.136.136`, include the authorized target, scope, expected output, and stopping criteria, for example: enumerate exposed services, try likely public exploits, avoid repeating failed commands more than twice, and stop with a concise findings report if no path is found.
352
+
353
+
Use PentAGI flow logs, Docker logs, and provider or vLLM logs together when diagnosing a long run:
354
+
355
+
- Repeated identical shell/browser actions point toward tool-loop behavior.
356
+
- Long gaps between actions point toward slow model generation or provider latency.
357
+
- Frequent malformed tool calls point toward provider/tool-call parser compatibility.
358
+
- Varied but slow exploration can simply mean the target is complex or the prompt is too broad.
359
+
360
+
Qwen3.5-27B-FP8 can run useful local flows, but complex autonomous pentests may still need execution monitoring, task planning, tighter prompts, and careful log review.
361
+
340
362
### Issue: "Unknown architecture 'qwen3_5'"
341
363
342
364
**Cause**: Using stable vLLM release instead of nightly.
0 commit comments