mirror of
https://github.com/jamiepine/voicebox.git
synced 2026-09-28 06:35:18 -07:00
- Rearranged imports for consistency across components. - Enhanced the ModelManagement component to include detailed logging for download actions and errors. - Updated the ModelProgress component to connect to SSE only when actively downloading, preventing connection exhaustion. - Added a downloading state to the model status to indicate ongoing downloads. - Improved toast notifications for model downloads with completion and error callbacks. - Refactored the useModelDownloadToast hook to support new callbacks for download completion and error handling. - Updated backend model status to reflect downloading state during active downloads.
16 lines
385 B
TypeScript
16 lines
385 B
TypeScript
/* generated using openapi-typescript-codegen -- do not edit */
|
|
/* istanbul ignore file */
|
|
/* tslint:disable */
|
|
/* eslint-disable */
|
|
/**
|
|
* Response model for model status.
|
|
*/
|
|
export type ModelStatus = {
|
|
model_name: string;
|
|
display_name: string;
|
|
downloaded: boolean;
|
|
downloading?: boolean; // True if download is in progress
|
|
size_mb?: number | null;
|
|
loaded?: boolean;
|
|
};
|