polishing
This commit is contained in:
@ -112,4 +112,12 @@ window.electronAPI = {
|
||||
hasLicenseFeature: (feature: string): Promise<boolean> => {
|
||||
return invoke('has_license_feature', { feature });
|
||||
},
|
||||
|
||||
listModels: (): Promise<ModelInfo[]> => {
|
||||
return invoke('list_models');
|
||||
},
|
||||
|
||||
deleteModel: (path: string): Promise<void> => {
|
||||
return invoke('delete_model', { path });
|
||||
},
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user