@nomyx/assistant
Version:
A powerful assistant library and cli for your AI projects. works with Vertex AI (Claude and Gemini)
17 lines (16 loc) • 471 B
TypeScript
export interface RetryStrategy {
execute<T>(operation: () => Promise<T>): Promise<T>;
}
export interface CodeNodeData {
id: string;
type: string;
value: string;
children: CodeNodeData[];
metadata: Record<string, any>;
}
export interface ILogger {
error(message: string, ...args: any[]): void;
warn(message: string, ...args: any[]): void;
info(message: string, ...args: any[]): void;
debug(message: string, ...args: any[]): void;
}