Class ArrayLoopStrategy

java.lang.Object
com.alibaba.cloud.ai.graph.agent.flow.agent.loop.ArrayLoopStrategy
All Implemented Interfaces:
LoopStrategy

public class ArrayLoopStrategy extends Object implements LoopStrategy
JSON array loop strategy that retrieves a JSON array from the current message state, sends each array element as a message to the model, and returns the result. By default, the text of the last message is treated as a JSON array, but users can customize the converter.
Since:
2025/11/1
Author:
vlsmb