Factory and singleton values for ToolExecutionStrategy.
Attributes
- Companion
- trait
- Graph
-
- Supertypes
-
trait Sumtrait Mirrorclass Objecttrait Matchableclass Any
- Self type
Members list
Type members
Classlikes
Execute all tools simultaneously.
Execute all tools simultaneously.
Best for independent, I/O-bound tools such as multiple API calls, database queries, or read-only file operations. Avoid it for side effects that must not overlap, and watch for rate limiting from external APIs.
Attributes
- Supertypes
-
trait Singletontrait Producttrait Mirrortrait Serializabletrait Producttrait Equalstrait ToolExecutionStrategyclass Objecttrait Matchableclass AnyShow all
- Self type
-
Parallel.type
Execute tools in parallel with a concurrency limit.
Execute tools in parallel with a concurrency limit.
Balances parallel execution with resource constraints. Use it when external APIs have rate limits, the system has limited local resources, or parallel execution is useful but must remain controlled.
Value parameters
- maxConcurrency
-
Maximum number of tools executing simultaneously
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait ToolExecutionStrategyclass Objecttrait Matchableclass AnyShow all
Execute tools one at a time, in order.
Execute tools one at a time, in order.
This is the safest strategy and the default behavior. Use it when tools have dependencies on each other, order of execution matters, or you are debugging tool behavior.
Attributes
- Supertypes
-
trait Singletontrait Producttrait Mirrortrait Serializabletrait Producttrait Equalstrait ToolExecutionStrategyclass Objecttrait Matchableclass AnyShow all
- Self type
-
Sequential.type
Inherited and Abstract types
The names of the product elements
The names of the product elements
Attributes
- Inherited from:
- Mirror
The name of the type
The name of the type
Attributes
- Inherited from:
- Mirror
Value members
Concrete fields
Default strategy: Sequential execution.
Default strategy: Sequential execution.