docs: add Qwen long-flow troubleshooting#347
Open
mason5052 wants to merge 1 commit into
Open
Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
Note
Copilot was unable to run its full agentic suite in this review.
Adds troubleshooting guidance for runaway/looping automation flows in the vLLM Qwen3.5-27B-FP8 guide and cross-links it from the execution monitoring documentation to help users tune monitoring, prompt scope, and diagnostics.
Changes:
- Added a new troubleshooting subsection for long-running/repeating automation flows (prompt bounding + logging checklist).
- Linked the new troubleshooting section from
flow_execution.mdto make it discoverable from execution monitoring docs.
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.
| File | Description |
|---|---|
| examples/guides/vllm-qwen35-27b-fp8.md | Adds a new troubleshooting entry focused on long-running/repeating flows and mitigation steps. |
| backend/docs/flow_execution.md | Adds a documentation cross-link to the new troubleshooting section for Qwen-style local/custom deployments. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
b9a0c83 to
1e19b70
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Problem
Issue #344 reports a Tomato VulnHub penetration test running for more than 5 hours with Qwen3.5-27b through an OpenAI-compatible custom provider. The flow appeared to repeat commands and make slow progress. PentAGI already documents execution monitoring, task planning, reflector recovery, and hard tool-call limits, but the Qwen guide did not connect those controls to long-running local/custom model flows.
Refs #344
Solution
EXECUTION_MONITOR_ENABLED,EXECUTION_MONITOR_SAME_TOOL_LIMIT,EXECUTION_MONITOR_TOTAL_TOOL_LIMIT,AGENT_PLANNING_STEP_ENABLED,MAX_GENERAL_AGENT_TOOL_CALLS, andMAX_LIMITED_AGENT_TOOL_CALLS.User Impact
Users running local or custom Qwen3.5-27B-style models get a practical first troubleshooting path without changing PentAGI runtime behavior, defaults, dependencies, or generated artifacts.
Test Plan
git fetch upstream maingit diff --check upstream/main...HEADgit diff --name-only upstream/main...HEAD.env.exampleandbackend/docs/config.md.