ExecutorFactory
Workspace API / services/executors/ExecutorFactory
services/executors/ExecutorFactory
Classes
ExecutorFactory
Defined in: services/executors/ExecutorFactory.ts:31
Executor Factory
Always returns VoltAgent executor. Legacy executor routing and shadow mode have been removed.
Constructors
Constructor
new ExecutorFactory():
ExecutorFactory
Defined in: services/executors/ExecutorFactory.ts:34
Returns
Methods
select()
select(
skillVersion,orgId):ExecutorSelection
Defined in: services/executors/ExecutorFactory.ts:43
Select an executor for a skill version
Always returns VoltAgent executor.
Parameters
skillVersion
orgId
string
Returns
getExecutor()
getExecutor():
SkillExecutor
Defined in: services/executors/ExecutorFactory.ts:61
Get the VoltAgent executor
Returns
getAvailableExecutors()
getAvailableExecutors():
ExecutorInfo[]
Defined in: services/executors/ExecutorFactory.ts:68
Get available executors
Returns
Interfaces
ExecutorSelection
Defined in: services/executors/ExecutorFactory.ts:18
Executor selection result
Properties
executor
executor:
SkillExecutor
Defined in: services/executors/ExecutorFactory.ts:20
The selected executor
reason
reason:
"voltagent"|"default"
Defined in: services/executors/ExecutorFactory.ts:22
Selection reason
Functions
getExecutorFactory()
getExecutorFactory():
ExecutorFactory
Defined in: services/executors/ExecutorFactory.ts:81
Get the executor factory instance
Returns
selectExecutor()
selectExecutor(
skillVersion,orgId):ExecutorSelection
Defined in: services/executors/ExecutorFactory.ts:91
Select an executor for a skill version (convenience function)
Parameters
skillVersion
orgId
string