UNPKG

askexperts

Version:

AskExperts SDK: build and use AI experts - ask them questions and pay with bitcoin on an open protocol

22 lines (21 loc) 540 B
import { Command } from "commander"; /** * Options for the proxy command */ export interface ProxyCommandOptions { port: number; basePath?: string; relays?: string[]; } /** * Start the OpenAI proxy server with the given options * * @param options Command line options */ export declare function startProxyServer(options: ProxyCommandOptions): Promise<void>; /** * Register the proxy command with the CLI * * @param program The commander program */ export declare function registerProxyCommand(program: Command): void;