-
Validations
ProblemHi, I rely heavily on config.ts file for very custom configurations. However, I noticed its been deprecated along with config.json. Can I check, moving forward, what is the plan for config.ts file? Eg Will there be a replacement for it? Or if it will be totally deprecated, when is that expected to happen? SolutionNo response |
Beta Was this translation helpful? Give feedback.
Replies: 9 comments
-
Hi @foongzy. Can you elaborate more about the custom configurations you have in your |
Beta Was this translation helpful? Give feedback.
-
Hello @TyDunn. We are rely on config.ts too and that is why we still can't move to config.yaml from json version. |
Beta Was this translation helpful? Give feedback.
-
Hi @TyDunn, we create our own backend and logic that does custom processing of queries and adding any relevant context before sending to LLM endpoint. We then stream the response back to the IDE. So in config.ts, I am doing a custom streaming API call (fetch) to my backend and my backend will return the response. |
Beta Was this translation helpful? Give feedback.
-
While I do not use config.ts for that, I'd like to have this feature. Rn we use a local proxy to do this mapping, but it requires an extra work as people need to setup and run it too. |
Beta Was this translation helpful? Give feedback.
-
We also use a proxy for all of our application, LiteLLM, to monitor team usage and provide routing and fallbacks. With the config.ts, I could provide a custom endpoint and custom api key for LiteLLM and just define which models we wished to use in continue.dev. I now see that GitHub co-pilot allows for this functionality but would prefer not to have to switch others over to it. Please allow for customization and not rely exclusively on pre-defined endpoints. We manually rolled-back to 1.0.5 and everything works as expected. |
Beta Was this translation helpful? Give feedback.
-
Hi @TyDunn, if you can provide an update, that would be great. Seems like many are still relying heavily on the config.ts file for customisation. |
Beta Was this translation helpful? Give feedback.
-
I also rely solely on config.ts. Example adding custom command to use OpenAI Assistants. When I upgrade to latest version, it stopped working. Hence I'm using a lower version i.e 1.0.4. However, I want to upgrade to latest version of Continue without discontinued usage of JSON and ts file. |
Beta Was this translation helpful? Give feedback.
-
I talked through this with the team, and here is our latest thinking:
Please let me know what y'all think. We want to enable all of you have the customization you need in a way that is both secure and sustainable for us to maintain Continue 👍 |
Beta Was this translation helpful? Give feedback.
-
This issue hasn't been updated in 90 days and will be closed after an additional 10 days without activity. If it's still important, please leave a comment and share any new information that would help us address the issue. |
Beta Was this translation helpful? Give feedback.
I talked through this with the team, and here is our latest thinking:
We have deprecated
config.json
, so everyone will need to migrate toconfig.yaml
eventuallyWe plan to no longer support
config.ts
because it is difficult for us to maintain, and we want to help our users follow security best practices (e.g. not running arbitrary code). In addition, most of our users achieve a lot of what they used to do withconfig.ts
using MCP and / or OpenAI compatible APIs, which didn't exist two years ago when we originally designedconfig.ts
@migs911 @foongzy Our recommendation would be to either make your model provider OpenAI compatible or open a pull request with the format you need, assum…