capsule-ai-cli
Version:
The AI Model Orchestrator - Intelligent multi-model workflows with device-locked licensing
22 lines • 871 B
TypeScript
import { MessageContent, CompletionResponse } from '../types/index.js';
export declare class ChatService {
private currentAbortController;
chat(input: string | MessageContent[], options?: {
mode?: 'agent' | 'plan' | 'orchestrator';
provider?: string;
model?: string;
stream?: boolean;
}): Promise<CompletionResponse>;
stream(input: string | MessageContent[], options?: {
mode?: 'agent' | 'plan' | 'orchestrator' | 'auto';
provider?: string;
model?: string;
}): AsyncGenerator<import("../types/index.js").StreamChunk, void, unknown>;
switchModel(newModel: string, newProvider?: string): Promise<void>;
private getSystemMessage;
private compressToolResult;
private executeTools;
abort(): void;
}
export declare const chatService: ChatService;
//# sourceMappingURL=chat.d.ts.map