Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

⏩ Preview #1171

Merged
merged 191 commits into from
Apr 23, 2024
Merged

⏩ Preview #1171

merged 191 commits into from
Apr 23, 2024

Conversation

sestinj
Copy link
Contributor

@sestinj sestinj commented Apr 23, 2024

No description provided.

sestinj and others added 30 commits March 19, 2024 23:07
* ⚡️ improved diff streaming algo

* 🎨 better messaging/formatting for further cmd/ctrl+I instructions

* ⚡️ more reliably filter out unwanted explanations

* 🚸 better follow up edits

* 💄 accept/reject diffs block-by-block

* ✨ cmd/ctrl+z to reject diff

* 🚚 rename variables

* 💄 allow switching files when inline diff still visible

* 🚸 don't show quick pick if not ctx providers exist

* 🚧 (sort of) allow switching editors while streaming diff

* 💄 show model being used for cmd/ctrl+I

* 💄 don't add  undo stops when generating diff

* 🐛 fix shortcuts for accept/reject diff blocks

* ✨ improved GPT edit prompt, taking prefix/suffix into account

* ✨ improved prompting for empty selection ctrl/cmd+I

* ⚡️ immediately refresh codelens

* 🐛 use first model if default undefined

* ⚡️ refresh codelens after diff cleared

* 💄 update keyboard shortcuts
* 💄 refresh codelens more frequently

* ⚡️ improved codellama edit prompt

* ⚡️ better codellama prompt

* ⚡️ use same improved prompt for most OS models

* 🎨 refactor chat templates

* 🎨 refactor llama2 prompt to allow ending assistant message

* ⚡️ separate os models prompt when no prefix/suffix

* 🎨 refactor to allow putting words in the model's mouth

* ⚡️ prune code around cmd/ctrl+I

* 🚚 rename to cmd/ctrl+I

* 🎨 make raw a base completion option

* 🩹 small improvements

* 🩹 use different prompt when completions not supported
sestinj and others added 25 commits April 16, 2024 15:14
* 🚸 onboarding improvements

* 🧑‍💻 keyboard shortcuts to toggle autocomplete and open config.json

* ⚡️ improve detection of terminal code blocks

* 🚧 onboarding improvements

* 🚧 more onboarding improvements

* 💄 last session button

* 🚸 show more fallback options in dropdown

* 💄 add sectioning to models page

* 💄 clean up delete model button

* 💄 make tooltip look nicer

* 🚸 download Ollama button

* 💄 local LLM onboarding

* 🐛 select correct terminal on "runCommand" message

* 💄 polish onboarding
supportsCompletions(): boolean {
if (this.providerName === "openai") {
if (
this.apiBase?.includes("api.groq.com") ||

Check failure

Code scanning / CodeQL

Incomplete URL substring sanitization High

'
api.groq.com
' can be anywhere in the URL, and arbitrary hosts may come before or after it.
@@ -16,13 +16,19 @@
implements vscode.InlineCompletionItemProvider
{
private onError(e: any) {
vscode.window.showErrorMessage(e.message, "Documentation").then((val) => {
const options = ["Documentation"];
if (e.message.includes("https://ollama.ai")) {

Check failure

Code scanning / CodeQL

Incomplete URL substring sanitization High

'
https://ollama.ai
' can be anywhere in the URL, and arbitrary hosts may come before or after it.
Copy link

netlify bot commented Apr 23, 2024

Deploy Preview for continuedev ready!

Name Link
🔨 Latest commit 56e13c5
🔍 Latest deploy log https://app.netlify.com/sites/continuedev/deploys/66273a9b3c772000084d1bd5
😎 Deploy Preview https://deploy-preview-1171--continuedev.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@sestinj sestinj merged commit 2205e13 into main Apr 23, 2024
5 of 6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.