agent-sdk / Exports / AgentExecutor
Class: AgentExecutor
Implements
IHookTypeExecutor
Table of contents
Constructors
Properties
Methods
Constructors
constructor
• new AgentExecutor(options): AgentExecutor
Parameters
| Name | Type |
|---|---|
options | IAgentExecutorOptions |
Returns
Defined in
agent-sdk/src/hooks/agent-executor.ts:54
Properties
type
• Readonly type: "agent"
Implementation of
IHookTypeExecutor.type
Defined in
agent-sdk/src/hooks/agent-executor.ts:50
Methods
execute
▸ execute(definition, input): Promise<IHookResult>
Parameters
| Name | Type |
|---|---|
definition | IHookDefinition |
input | IHookInput |
Returns
Promise<IHookResult>
Implementation of
IHookTypeExecutor.execute