Interface: IBrainClientManager
services.IBrainClientManager
Interface for managing brain clients.
Table of contents
Methods
Methods
getAvailableBrains
▸ getAvailableBrains(): LocalBrain
[]
Retrieves all available local brains.
Returns
An array of LocalBrain objects.
Defined in
src/services/brainClientService.ts:230
getAvailableClients
▸ getAvailableClients(): IBrainClient
[]
Retrieves all available brain clients.
Returns
An array of IBrainClient objects.
Defined in
src/services/brainClientService.ts:224
getClient
▸ getClient(brainId
): undefined
| IBrainClient
Retrieves a specific brain client by ID.
Parameters
Name | Type | Description |
---|---|---|
brainId | string | The ID of the brain to retrieve. |
Returns
undefined
| IBrainClient
The IBrainClient if found, otherwise undefined.
Defined in
src/services/brainClientService.ts:218
getDefaultForCapability
▸ getDefaultForCapability(capability
): undefined
| IBrainClient
Retrieves the default client for a given capability.
Parameters
Name | Type | Description |
---|---|---|
capability | string | The capability to search for. |
Returns
undefined
| IBrainClient
The default IBrainClient for the given capability, if one exists.