@tanstack/ai
Version:
Core TanStack AI library - Open source AI SDK
15 lines (14 loc) • 314 B
JavaScript
class BaseAudioAdapter {
constructor(model, config = {}) {
this.kind = "audio";
this.config = config;
this.model = model;
}
generateId() {
return `${this.name}-${Date.now()}-${Math.random().toString(36).substring(7)}`;
}
}
export {
BaseAudioAdapter
};
//# sourceMappingURL=adapter.js.map