Class ToolLoopConfiguration
-
- All Implemented Interfaces:
@ConfigurationProperties(value = "embabel.agent.platform.toolloop") public final class ToolLoopConfigurationConfiguration for tool loop execution.
Externalized via properties:
embabel: agent: platform: toolloop: type: default # default | parallel max-iterations: 20 parallel: per-tool-timeout: 30s batch-timeout: 60s executor-type: virtual # virtual | fixed | cached fixed-pool-size: 10
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public enumToolLoopConfiguration.ToolLoopTypeType of tool loop to use.
public final classToolLoopConfiguration.ParallelModePropertiesProperties for parallel mode tool execution. Only applicable when type is ToolLoopType.PARALLEL.
public enumToolLoopConfiguration.ExecutorTypeType of executor for parallel tool execution.
-
Field Summary
Fields Modifier and Type Field Description private final ToolLoopConfiguration.ToolLoopTypetypeprivate final IntegermaxIterationsprivate final ToolLoopConfiguration.ParallelModePropertiesparallel
-
Constructor Summary
Constructors Constructor Description ToolLoopConfiguration(ToolLoopConfiguration.ToolLoopType type, Integer maxIterations, ToolLoopConfiguration.ParallelModeProperties parallel)
-
Method Summary
Modifier and Type Method Description final ToolLoopConfiguration.ToolLoopTypegetType()final IntegergetMaxIterations()final ToolLoopConfiguration.ParallelModePropertiesgetParallel()-
-
Constructor Detail
-
ToolLoopConfiguration
ToolLoopConfiguration(ToolLoopConfiguration.ToolLoopType type, Integer maxIterations, ToolLoopConfiguration.ParallelModeProperties parallel)
-
-
Method Detail
-
getType
final ToolLoopConfiguration.ToolLoopType getType()
-
getMaxIterations
final Integer getMaxIterations()
-
getParallel
final ToolLoopConfiguration.ParallelModeProperties getParallel()
-
-
-
-