<!--
 ⚠️  AUTO-GENERATED FILE - DO NOT EDIT MANUALLY
 This file is automatically generated by scripts/docs-generator.js
 To make changes, edit the source TypeScript files or update the generator script
-->

[remote](../../) / [Exports](../modules) / RemoteExecutor

# Class: RemoteExecutor

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

## Implements

- [`IExecutor`](../interfaces/IExecutor)

## Table of contents

### Constructors

- [constructor](RemoteExecutor#constructor)

### Properties

- [name](RemoteExecutor#name)
- [version](RemoteExecutor#version)

### Methods

- [executeChat](RemoteExecutor#executechat)
- [executeChatStream](RemoteExecutor#executechatstream)
- [supportsTools](RemoteExecutor#supportstools)
- [validateConfig](RemoteExecutor#validateconfig)
- [dispose](RemoteExecutor#dispose)

## Constructors

### constructor

• **new RemoteExecutor**(`config`): [`RemoteExecutor`](RemoteExecutor)

#### Parameters

| Name     | Type                  |
| :------- | :-------------------- |
| `config` | `ISimpleRemoteConfig` |

#### Returns

[`RemoteExecutor`](RemoteExecutor)

#### Defined in

[remote/src/client/remote-executor-simple.ts:53](https://github.com/woojubb/robota/blob/4f4c8a3197e92ddd43d12dc9186b0771983054c9/packages/remote/src/client/remote-executor-simple.ts#L53)

## Properties

### name

• `Readonly` **name**: `"remote"`

Get executor name/identifier

#### Implementation of

[IExecutor](../interfaces/IExecutor).[name](../interfaces/IExecutor#name)

#### Defined in

[remote/src/client/remote-executor-simple.ts:46](https://github.com/woojubb/robota/blob/4f4c8a3197e92ddd43d12dc9186b0771983054c9/packages/remote/src/client/remote-executor-simple.ts#L46)

---

### version

• `Readonly` **version**: `"1.0.0"`

Get executor version

#### Implementation of

[IExecutor](../interfaces/IExecutor).[version](../interfaces/IExecutor#version)

#### Defined in

[remote/src/client/remote-executor-simple.ts:47](https://github.com/woojubb/robota/blob/4f4c8a3197e92ddd43d12dc9186b0771983054c9/packages/remote/src/client/remote-executor-simple.ts#L47)

## Methods

### executeChat

▸ **executeChat**(`request`): `Promise`\<[`IAssistantMessage`](../interfaces/IAssistantMessage)\>

Execute chat request (IExecutor compatible)

#### Parameters

| Name      | Type                                                           |
| :-------- | :------------------------------------------------------------- |
| `request` | [`IChatExecutionRequest`](../interfaces/IChatExecutionRequest) |

#### Returns

`Promise`\<[`IAssistantMessage`](../interfaces/IAssistantMessage)\>

#### Implementation of

[IExecutor](../interfaces/IExecutor).[executeChat](../interfaces/IExecutor#executechat)

#### Defined in

[remote/src/client/remote-executor-simple.ts:79](https://github.com/woojubb/robota/blob/4f4c8a3197e92ddd43d12dc9186b0771983054c9/packages/remote/src/client/remote-executor-simple.ts#L79)

---

### executeChatStream

▸ **executeChatStream**(`request`): `AsyncIterable`\<[`TUniversalMessage`](../modules#tuniversalmessage), `any`, `any`\>

Execute streaming chat completion

#### Parameters

| Name      | Type                                                               |
| :-------- | :----------------------------------------------------------------- |
| `request` | [`IStreamExecutionRequest`](../interfaces/IStreamExecutionRequest) |

#### Returns

`AsyncIterable`\<[`TUniversalMessage`](../modules#tuniversalmessage), `any`, `any`\>

#### Implementation of

[IExecutor](../interfaces/IExecutor).[executeChatStream](../interfaces/IExecutor#executechatstream)

#### Defined in

[remote/src/client/remote-executor-simple.ts:109](https://github.com/woojubb/robota/blob/4f4c8a3197e92ddd43d12dc9186b0771983054c9/packages/remote/src/client/remote-executor-simple.ts#L109)

---

### supportsTools

▸ **supportsTools**(): `boolean`

Check if the executor supports tool calling (IExecutor requirement)

#### Returns

`boolean`

#### Implementation of

[IExecutor](../interfaces/IExecutor).[supportsTools](../interfaces/IExecutor#supportstools)

#### Defined in

[remote/src/client/remote-executor-simple.ts:152](https://github.com/woojubb/robota/blob/4f4c8a3197e92ddd43d12dc9186b0771983054c9/packages/remote/src/client/remote-executor-simple.ts#L152)

---

### validateConfig

▸ **validateConfig**(): `boolean`

Validate executor configuration (IExecutor requirement)

#### Returns

`boolean`

#### Implementation of

[IExecutor](../interfaces/IExecutor).[validateConfig](../interfaces/IExecutor#validateconfig)

#### Defined in

[remote/src/client/remote-executor-simple.ts:159](https://github.com/woojubb/robota/blob/4f4c8a3197e92ddd43d12dc9186b0771983054c9/packages/remote/src/client/remote-executor-simple.ts#L159)

---

### dispose

▸ **dispose**(): `Promise`\<`void`\>

Clean up resources (IExecutor requirement)

#### Returns

`Promise`\<`void`\>

#### Implementation of

[IExecutor](../interfaces/IExecutor).[dispose](../interfaces/IExecutor#dispose)

#### Defined in

[remote/src/client/remote-executor-simple.ts:172](https://github.com/woojubb/robota/blob/4f4c8a3197e92ddd43d12dc9186b0771983054c9/packages/remote/src/client/remote-executor-simple.ts#L172)
