Feature/Update Loop Agentflow (#4957)

* Feature: Update Loop Agentflow to include fallback message and version increment to 1.1

- Added a new input parameter 'fallbackMessage' to the Loop Agentflow for displaying a message when the loop count is exceeded.
- Incremented the version of Loop Agentflow from 1.0 to 1.1.
- Updated the processing logic to handle the fallback message appropriately when the maximum loop count is reached.

* - Introduced a new input parameter 'loopUpdateState' to allow updating the runtime state during workflow execution.
- Added a method to list runtime state keys for dynamic state management.
- Implemented logic to retrieve and utilize the current loop count in variable resolution.
- Updated the Loop Agentflow output to reflect the new state and final output content.
This commit is contained in:
Henry Heng
2025-09-28 22:08:08 +01:00
committed by GitHub
parent 31434e52ce
commit 0065e8f1a0
4 changed files with 107 additions and 9 deletions
@@ -71,6 +71,12 @@ export const suggestionOptions = (
description: 'Total messsages between LLM and Agent',
category: 'Chat Context'
},
{
id: 'loop_count',
mentionLabel: 'loop_count',
description: 'Current loop count',
category: 'Chat Context'
},
{
id: 'file_attachment',
mentionLabel: 'file_attachment',