Skip to content

Conversation

@nova28
Copy link

@nova28 nova28 commented Jul 27, 2025

  • Add new 'swama rm' CLI command with confirmation prompt and --force flag
  • Add ModelPaths.removeModel() function to handle model deletion across all storage locations
  • Support model aliases (e.g., qwen3, whisperkit-base) in removal process
  • Add comprehensive tests for model removal and existence checking
  • Reuse existing infrastructure (ModelAliasResolver, ModelManager, ModelPaths)

Usage:
swama rm # Remove with confirmation
swama rm --force # Remove without confirmation

Resolves the need for manual model management and complements existing 'pull' and 'list' commands.

- Add new 'swama rm' CLI command with confirmation prompt and --force flag
- Add ModelPaths.removeModel() function to handle model deletion across all storage locations
- Support model aliases (e.g., qwen3, whisperkit-base) in removal process
- Add comprehensive tests for model removal and existence checking
- Reuse existing infrastructure (ModelAliasResolver, ModelManager, ModelPaths)

Usage:
  swama rm <model>         # Remove with confirmation
  swama rm <model> --force # Remove without confirmation

Resolves the need for manual model management and complements existing 'pull' and 'list' commands.
@yulinli-rin yulinli-rin requested a review from sxy-trans-n July 27, 2025 03:58
@sxy-trans-n sxy-trans-n mentioned this pull request Jul 28, 2025
@sxy-trans-n
Copy link
Collaborator

Thank you for your contribution.

@sxy-trans-n sxy-trans-n merged commit 41ed8f9 into Trans-N-ai:main Jul 28, 2025
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants