AutoSelectForTask

data class AutoSelectForTask(val subtaskDescription: String, val maxRetries: Int = 3) : ToolSelectionStrategy(source)

Represents a subset of tools tailored to the specific requirements of a subtask.

The purpose of this class is to dynamically select and include only the tools that are directly relevant to the provided subtask description (based on LLM request). This ensures that unnecessary tools are excluded, optimizing the toolset for the specific use case.

Constructors

Link copied to clipboard
constructor(subtaskDescription: String, maxRetries: Int = 3)

Properties

Link copied to clipboard
val maxRetries: Int = 3
Link copied to clipboard

A description of the subtask for which the relevant tools should be selected.