continuedev / continue

⏩ Continue is the leading open-source AI code assistant. You can connect any models and any context to build custom autocomplete and chat experiences inside VS Code and JetBrains
https://docs.continue.dev/
Apache License 2.0
19.22k stars 1.65k forks source link

Custom workspace directory #2381

Open karqo opened 1 month ago

karqo commented 1 month ago

Validations

Problem

The workspace directory path (/<home>/.continue, currently) does not seem customizable. It would be desirable, e.g., when facing storage problems though.

Solution

If not already implemented (if so, how?!), it would be very nice to have the possibility (e.g., via a corresponding environmental variable) to define a custom workspace root directory, other than /<home>/.continue .

Patrick-Erichsen commented 1 month ago

Hi @karqo , appreciate the feedback here. This would introduce a decent amount of complexity so I'm not sure if we'll tackle it in the near term, but it's good to know that you'd find value in making this configurable.

Could you elaborate a bit on the situation where you've ran into storage problems? Would you be looking to host the file remotely? This is possible with our teams product.

karqo commented 1 month ago

In the meantime, it has turned out that this actually seems to be already working via setting the environmental variable CONTINUE_GLOBAL_DIR appropriately ...

Patrick-Erichsen commented 1 month ago

Ah yes good point, we use that for testing but don't really expose/document it anywhere. Has that caused any other issues for you so far?

karqo commented 1 month ago

No, so far, I did not recognize any side effects yet, that I would relate to this matter.