Skip to content

agent-sdk / Exports / AgentExecutor

Class: AgentExecutor

Implements

  • IHookTypeExecutor

Table of contents

Constructors

Properties

Methods

Constructors

constructor

new AgentExecutor(options): AgentExecutor

Parameters

NameType
optionsIAgentExecutorOptions

Returns

AgentExecutor

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

NameType
definitionIHookDefinition
inputIHookInput

Returns

Promise<IHookResult>

Implementation of

IHookTypeExecutor.execute

Defined in

agent-sdk/src/hooks/agent-executor.ts:58

Released under the MIT License.