Implementation of [CodingGenie: A Proactive LLM-Powered Programming Assistant]
14
stars
13
commits
TypeScript
primary language
Jan 14, 2025
updated
Implementation of [CodingGenie: A Proactive LLM-Powered Programming Assistant]
CodingGenie is an open-source implementation of a proactive assistant integrated into the chat window of Continue, a VSCode coding LLM extension. Proactive suggestions are chat-based suggestions which are suggested autonomously without user prompting, triggered after code changes or chat messages. CodingGenie suggests chat completions based upon several factors, including the code context, optional task description, enabled suggestion types, and previous conversation history.
UI and components of prompting. (A) is a proactive suggestion, (B) is the accept button, (C) is the normal chat interface, and (D) is the normal editor interface.
System design
We build CodingGenie off of a fork of Continue, here is their main repo and website. Our fork is not guaranteed to be the most up to date, so please refer to codinggenie/README_CONTINUE.md and codinggenie/docs/ for the correct information on Continue and its features.
CodingGenie requires building the package for your target architecture, with minimal changes to the installation instructions of Continue. Currently, this extension is only compatible with VSCode.
cmd/ctrl+shift+p) and select Tasks: Run Task and then select install-all-dependenciesextensions/vscode/build/continue-{VERSION}.vsix. Then, navigate to the Extensions icon in VSCode, click on the ... icon in the top right of the opened tab, and select "Install from VSIX". Select the newly generated file.Proactive suggestions may be triggered in multiple ways. With the Continue tab open, either
cmd/ctrl+shift+p) and search for and select Continue: Request proactive suggestionsProactive suggestions come in groups of three, and contain a tag and short description which summarize the purpose of the suggestion, as well as any code and explanation upon expanding the suggestion. These suggestions may be accepted, and doing so will place them into the conversation history. The suggestion will appear as a user message sending the tag and short description, and the chat assistant sending the code and explanation. Follow-up questions may be asked on accepted suggestions. Please check out our website for a full demonstration.
Here is a sample of what a set of proactive suggestions may look like.
Configure task description to get suggestions directed towards a specific goal.
cmd/ctrl+shift+p) and search for and select Continue: Configure Task Description.Here are some example task descriptions.
Configure suggestion types shown.
cmd/ctrl+shift+p) and search for and select Continue: Configure Proactive ConfigHere are the possible suggestion types.
We will soon update this section with how to cite us, thank you!
We welcome contributions from the community, feel free to submit a PR or open an issue.
This code is released under the MIT license.
TypeScript
61.3%
JavaScript
24.6%
Kotlin
7.6%
Rust
2.5%
CSS
1.9%
Scheme
1.3%
Implementation of [CodingGenie: A Proactive LLM-Powered Programming Assistant]
14
stars
13
commits
TypeScript
primary language
Jan 14, 2025
updated
Implementation of [CodingGenie: A Proactive LLM-Powered Programming Assistant]
CodingGenie is an open-source implementation of a proactive assistant integrated into the chat window of Continue, a VSCode coding LLM extension. Proactive suggestions are chat-based suggestions which are suggested autonomously without user prompting, triggered after code changes or chat messages. CodingGenie suggests chat completions based upon several factors, including the code context, optional task description, enabled suggestion types, and previous conversation history.
UI and components of prompting. (A) is a proactive suggestion, (B) is the accept button, (C) is the normal chat interface, and (D) is the normal editor interface.
System design
We build CodingGenie off of a fork of Continue, here is their main repo and website. Our fork is not guaranteed to be the most up to date, so please refer to codinggenie/README_CONTINUE.md and codinggenie/docs/ for the correct information on Continue and its features.
CodingGenie requires building the package for your target architecture, with minimal changes to the installation instructions of Continue. Currently, this extension is only compatible with VSCode.
cmd/ctrl+shift+p) and select Tasks: Run Task and then select install-all-dependenciesextensions/vscode/build/continue-{VERSION}.vsix. Then, navigate to the Extensions icon in VSCode, click on the ... icon in the top right of the opened tab, and select "Install from VSIX". Select the newly generated file.Proactive suggestions may be triggered in multiple ways. With the Continue tab open, either
cmd/ctrl+shift+p) and search for and select Continue: Request proactive suggestionsProactive suggestions come in groups of three, and contain a tag and short description which summarize the purpose of the suggestion, as well as any code and explanation upon expanding the suggestion. These suggestions may be accepted, and doing so will place them into the conversation history. The suggestion will appear as a user message sending the tag and short description, and the chat assistant sending the code and explanation. Follow-up questions may be asked on accepted suggestions. Please check out our website for a full demonstration.
Here is a sample of what a set of proactive suggestions may look like.
Configure task description to get suggestions directed towards a specific goal.
cmd/ctrl+shift+p) and search for and select Continue: Configure Task Description.Here are some example task descriptions.
Configure suggestion types shown.
cmd/ctrl+shift+p) and search for and select Continue: Configure Proactive ConfigHere are the possible suggestion types.
We will soon update this section with how to cite us, thank you!
We welcome contributions from the community, feel free to submit a PR or open an issue.
This code is released under the MIT license.
TypeScript
61.3%
JavaScript
24.6%
Kotlin
7.6%
Rust
2.5%
CSS
1.9%
Scheme
1.3%