Bug Report: Issue with Sequential Agent Flow in Flowise
Describe the Bug
I am attempting to fill out a form using a collection of agent nodes (sequential agents). Below is a high-level overview of the sequential agent flow. The issue occurs randomly, and the error message does not specify where exactly the problem is happening:
1st Agent Flow Run:
Start
Capture User Query
Agent 0.a: Fetches the form master JSON via a custom tool.
Agent 1.a: Extracts the first missing key from the master JSON using a custom JavaScript tool.
Agent 2.a: Asks a question based on the key extracted by Agent 1, using instructions retrieved from a Retrieval-Augmented Generation (RAG) tool.
End
2nd Agent Flow Run and Beyond (Until the Form is Filled):
Start
Capture User Query
Agent 0: Processes the user query and updates the master JSON.
Agent 1: Extracts the next missing key from the master JSON using a custom JavaScript tool.
Agent 2: Asks a question based on the extracted key, with instructions retrieved from the RAG tool.
End
The issue occurs from the 2nd agent flow run onward. After successfully completing the first run, the following error is returned in subsequent runs:
Error buildAgentGraph - Error: 400 Sorry! We've encountered an issue with repetitive patterns in your prompt. Please try again with a different prompt.
To Reproduce
Steps to reproduce the behavior:
Navigate to the Agent Flow section.
Use agent nodes to replicate the sequential flow as described above.
Start the conversation to fill the form.
Encounter the error on the 2nd or subsequent agent flow runs.
Expected Behavior
The agent flow should continue seamlessly across runs, and the master JSON should be updated incrementally until the form is fully filled.
Screenshots
Flow
Due to confidentiality, I cannot share the complete flow configuration. However, if specific agent prompts or the custom tool code is needed for further investigation, please let me know.
This error might be related to how prompts or agent nodes are structured across multiple runs. If you need more details, such as individual prompts or code snippets from custom tools, please reach out, and I will provide them as needed.
Bug Report: Issue with Sequential Agent Flow in Flowise
Describe the Bug
I am attempting to fill out a form using a collection of agent nodes (sequential agents). Below is a high-level overview of the sequential agent flow. The issue occurs randomly, and the error message does not specify where exactly the problem is happening:
1st Agent Flow Run:
2nd Agent Flow Run and Beyond (Until the Form is Filled):
The issue occurs from the 2nd agent flow run onward. After successfully completing the first run, the following error is returned in subsequent runs:
To Reproduce
Steps to reproduce the behavior:
Expected Behavior
The agent flow should continue seamlessly across runs, and the master JSON should be updated incrementally until the form is fully filled.
Screenshots
Flow
Due to confidentiality, I cannot share the complete flow configuration. However, if specific agent prompts or the custom tool code is needed for further investigation, please let me know.
Setup
npx flowise start
,pnpm start
]Additional Context
This error might be related to how prompts or agent nodes are structured across multiple runs. If you need more details, such as individual prompts or code snippets from custom tools, please reach out, and I will provide them as needed.