Skip to content

remote / Exports / RemoteExecutor

Class: RemoteExecutor

Simple RemoteExecutor using atomic components Implements ExecutorInterface for full compatibility with LocalExecutor

Implements

Table of contents

Constructors

Properties

Methods

Constructors

constructor

new RemoteExecutor(config): RemoteExecutor

Parameters

NameType
configSimpleRemoteConfig

Returns

RemoteExecutor

Defined in

client/remote-executor-simple.ts:54

Properties

name

Readonly name: "remote"

Defined in

client/remote-executor-simple.ts:47


version

Readonly version: "1.0.0"

Defined in

client/remote-executor-simple.ts:48

Methods

executeChat

executeChat(request): Promise<AssistantMessage>

Execute chat request (ExecutorInterface compatible)

Parameters

NameType
requestChatExecutionRequest

Returns

Promise<AssistantMessage>

Defined in

client/remote-executor-simple.ts:80


executeChatStream

executeChatStream(request): AsyncIterable<UniversalMessage, any, any>

Execute streaming chat completion

Parameters

NameType
requestStreamExecutionRequest

Returns

AsyncIterable<UniversalMessage, any, any>

Defined in

client/remote-executor-simple.ts:110


supportsTools

supportsTools(): boolean

Check if the executor supports tool calling (ExecutorInterface requirement)

Returns

boolean

Defined in

client/remote-executor-simple.ts:153


validateConfig

validateConfig(): boolean

Validate executor configuration (ExecutorInterface requirement)

Returns

boolean

Defined in

client/remote-executor-simple.ts:160


dispose

dispose(): Promise<void>

Clean up resources (ExecutorInterface requirement)

Returns

Promise<void>

Defined in

client/remote-executor-simple.ts:173

Released under the MIT License.