mirror of
https://github.com/hanzoai/sdk.git
synced 2026-11-02 10:34:12 +00:00
- 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
20 lines
516 B
TypeScript
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
|