feat: enable move operations for all model types and remove unsupported methods from specific clients

This commit is contained in:
Will Miao
2025-08-04 19:51:02 +08:00
parent 342a722991
commit fae2e274fd
5 changed files with 102 additions and 143 deletions

View File

@@ -5,22 +5,6 @@ import { showToast } from '../utils/uiHelpers.js';
* Checkpoint-specific API client
*/
export class CheckpointApiClient extends BaseModelApiClient {
/**
* Checkpoints don't support move operations
*/
async moveSingleModel(filePath, targetPath) {
showToast('Moving checkpoints is not supported', 'warning');
return null;
}
/**
* Checkpoints don't support bulk move operations
*/
async moveBulkModels(filePaths, targetPath) {
showToast('Moving checkpoints is not supported', 'warning');
return [];
}
/**
* Get checkpoint information
*/