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.25k stars 1.66k forks source link

Context Provider Extensions REST API #2866

Open RomneyDa opened 5 days ago

RomneyDa commented 5 days ago

Validations

Problem

Right now, custom context providers can be made to pull context from external sources into Continue But other apps can't build extensions to push context into Continue An awesome way to allow other apps to build extensions for Continue to allow users to inject context into Continue

Solution

Context API. Allow any app to inject context into Continue by having the core always running a local REST api (whether in extension IPC or TCP mode) that can handle a ContextItem(s) POST