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://continue.dev/docs
Apache License 2.0
13.02k stars 880 forks source link

Support multiple profile/configs when using with multiple gits /remote hosts #1481

Open aiseei opened 2 weeks ago

aiseei commented 2 weeks ago

Validations

Problem

It would be be great to separate if needed diff configs files for diff dev envs. / gits - such DEV, TESTING or codebases.

Solution

If we can create/point in essence diff ~/.continue folders when setting up - that wld be super useful!

sestinj commented 2 weeks ago

@aiseei This is a cool idea. We currently have the concept of a .continuerc.json, which gets applied on top of your global config.json, and has the exact same syntax. How much do you think this would solve your needs if at all?

aiseei commented 2 weeks ago

@sestinj Thanks. so a .continuerc.json per workspace? That might be workable - will give it a try. Also came across this https://github.com/continuedev/continue/issues/792 maybe partially related to mine ?

sestinj commented 2 weeks ago

It does look somewhat related, though for the serializability reason we want to avoid that strategy.

It's unfortunate because it would be quite familiar to use module.exports, but in the end most configuration will happen from the UI for most users