ParallelWithLimit

org.llm4s.toolapi.ToolExecutionStrategy.ParallelWithLimit
final case class ParallelWithLimit(maxConcurrency: Int) extends ToolExecutionStrategy

Execute tools in parallel with a concurrency limit.

Balances performance with resource constraints. Use when:

  • External APIs have rate limits
  • System has limited resources
  • Want parallel execution but controlled

Value parameters

maxConcurrency

Maximum number of tools executing simultaneously

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product