ResponseExecutor
Class: ResponseExecutor
Defined in: packages/agent/src/unified/base/responseExecutor.ts:6
Implements
AgentResponseExecutor
Constructors
Constructor
new ResponseExecutor(options: {
postToolCallProcessors: PostToolCallProcessor[];
preToolCallProcessors: PreToolCallProcessor[];
}): ResponseExecutor;
Defined in: packages/agent/src/unified/base/responseExecutor.ts:13
Parameters
| Parameter | Type |
|---|---|
options | { postToolCallProcessors: PostToolCallProcessor[]; preToolCallProcessors: PreToolCallProcessor[]; } |
options.postToolCallProcessors | PostToolCallProcessor[] |
options.preToolCallProcessors | PreToolCallProcessor[] |
Returns
ResponseExecutor
Methods
executeResponse()
executeResponse(input: ResponseInput): Promise<ResponseOutput>;
Defined in: packages/agent/src/unified/base/responseExecutor.ts:23
Execute response processing including tool execution
Parameters
| Parameter | Type |
|---|---|
input | ResponseInput |
Returns
Promise<ResponseOutput>
Implementation of
AgentResponseExecutor.executeResponse
getPostToolCallProcessors()
getPostToolCallProcessors(): PostToolCallProcessor[];
Defined in: packages/agent/src/unified/base/responseExecutor.ts:386
Returns
PostToolCallProcessor[]
Implementation of
AgentResponseExecutor.getPostToolCallProcessors
getPreToolCallProcessors()
getPreToolCallProcessors(): PreToolCallProcessor[];
Defined in: packages/agent/src/unified/base/responseExecutor.ts:383
Returns
PreToolCallProcessor[]
Implementation of
AgentResponseExecutor.getPreToolCallProcessors
setPostToolCallProcessors()
setPostToolCallProcessors(processors: PostToolCallProcessor[]): void;
Defined in: packages/agent/src/unified/base/responseExecutor.ts:379
Parameters
| Parameter | Type |
|---|---|
processors | PostToolCallProcessor[] |
Returns
void
Implementation of
AgentResponseExecutor.setPostToolCallProcessors
setPreToolCallProcessors()
setPreToolCallProcessors(processors: PreToolCallProcessor[]): void;
Defined in: packages/agent/src/unified/base/responseExecutor.ts:376
Parameters
| Parameter | Type |
|---|---|
processors | PreToolCallProcessor[] |
Returns
void
Implementation of
AgentResponseExecutor.setPreToolCallProcessors