Skip to content

bug: Symlinked model files should not be deleted #1921

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
1 of 3 tasks
mtomas7 opened this issue Jan 29, 2025 · 3 comments
Closed
1 of 3 tasks

bug: Symlinked model files should not be deleted #1921

mtomas7 opened this issue Jan 29, 2025 · 3 comments
Assignees
Labels
type: bug Something isn't working
Milestone

Comments

@mtomas7
Copy link

mtomas7 commented Jan 29, 2025

Jan version

0.5.14

Describe the Bug

When you load a model file you are presented with two options:

  • one option to symlink the model file
  • another option is to copy model file to Jan's folder.

If you select symlink option, it's like saying "I have a model library, do not touch my files, just link to them". But when it comes to deleting model from Jan, you only have one option and that option is to delete model and it would actually delete symlinked model files - not good!

It is not a good way to handle this because if you already decided that you want to symlink file, that means there should be another option which just unlinks that model file not deletes it:

  • Start Model
  • Delete Model
  • Unlink Model

Perhaps it should be handled automatically and for linked model only "Unlink Model" option will be displayed.

Thank you!

Steps to Reproduce

No response

Screenshots / Logs

No response

What is your OS?

  • MacOS
  • Windows
  • Linux
@mtomas7 mtomas7 added the type: bug Something isn't working label Jan 29, 2025
@louis-menlo louis-menlo self-assigned this Jan 30, 2025
@louis-menlo
Copy link
Contributor

Thanks for flagging this up! @mtomas7

@imtuyethan
Copy link
Contributor

@louis-menlo
Copy link
Contributor

Delivered, Jan 0.5.15 - Cortex 1.0.10

@louis-menlo louis-menlo added this to the v1.0.10 milestone Feb 21, 2025
@LeVinhGithub LeVinhGithub moved this from QA to Completed in Menlo Feb 21, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: bug Something isn't working
Projects
Archived in project
Development

No branches or pull requests

3 participants