@promptbook/remote-server
Version:
Promptbook: Create persistent AI agents that turn your company's scattered knowledge into action
29 lines (28 loc) • 931 B
TypeScript
import type { number_port } from '../types/number_positive';
import type { TODO_any } from '../utils/organization/TODO_any';
/**
* Options for agents server.
*/
type AgentsServerOptions = {
/**
* !!!
*
* @default 4440
*/
port: number_port;
};
/**
* [🐱🚀]
* Remote server is a proxy server that uses its execution tools internally and exposes the executor interface externally.
*
* You can simply use `RemoteExecutionTools` on client-side javascript and connect to your remote server.
* This is useful to make all logic on browser side but not expose your API keys or no need to use customer's GPU.
*
* TODO: [🐱🚀] Change to `@promptbook/agent-server`
*
* @see https://github.com/webgptorg/promptbook#remote-server
*
* @public exported from `@promptbook/remote-server`
*/
export declare function startAgentServer(options: AgentsServerOptions): Promise<TODO_any>;
export {};