Parallel
org.llm4s.toolapi.ToolExecutionStrategy.Parallel
case object Parallel extends ToolExecutionStrategy
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
- Graph
-
- Supertypes
-
trait Singletontrait Producttrait Mirrortrait Serializabletrait Producttrait Equalstrait ToolExecutionStrategyclass Objecttrait Matchableclass Any
- Self type
-
Parallel.type
Members list
In this article