askexperts
Version:
AskExperts SDK: build and use AI experts - ask them questions and pay with bitcoin on an open protocol
25 lines (24 loc) • 616 B
TypeScript
import { Command } from "commander";
/**
* Options for the HTTP server command
*/
export interface HttpCommandOptions {
port: number;
relays?: string[];
basePath?: string;
type?: "mcp" | "smart";
openaiApiKey?: string;
openaiBaseUrl?: string;
}
/**
* Start the HTTP server with the given options
*
* @param options Command line options
*/
export declare function startHttpServer(options: HttpCommandOptions): Promise<void>;
/**
* Register the HTTP command with the CLI
*
* @param program The commander program
*/
export declare function registerHttpCommand(program: Command): void;