Files
sdk/dist/client.d.ts
zeekay 1a19f15912 feat: Unified multi-language Hanzo SDK
- Consolidated Python, JavaScript, Rust, and Go SDKs
- Standard directory structure (src/py, src/js, src/rs, src/go)
- Real implementations from existing SDKs (not stubs)
- Comprehensive test framework with CI/CD matrix
- Dual distribution support (pip and npm)
- Language parity for all core commands
- Smart routing based on language strengths
2025-09-15 12:44:41 -05:00

20 lines
516 B
TypeScript

/**
* Hanzo API client
*/
export interface ChatMessage {
role: 'system' | 'user' | 'assistant';
content: string;
}
export interface ChatCompletionOptions {
messages: ChatMessage[];
model?: string;
temperature?: number;
max_tokens?: number;
}
export declare class HanzoClient {
private client;
constructor(apiKey?: string, baseURL?: string);
chatCompletion(options: ChatCompletionOptions): Promise<any>;
listModels(): Promise<string[]>;
}
//# sourceMappingURL=client.d.ts.map