Commit graph

5436 commits

Author SHA1 Message Date
Nate Sesti
2cf3a2a874 Merge branch 'preview' into dev 2024-06-19 14:37:08 -07:00
Nate Sesti
7f584c6af8 Merge branch 'preview' of https://github.com/continuedev/continue into preview 2024-06-19 14:32:05 -07:00
Nate Sesti
e6a3fc903e 🐛 fix type collision between jest and mocha 2024-06-19 14:31:57 -07:00
Nate Sesti
07f682e7fd tab autocomplete docs 2024-06-19 11:37:41 -07:00
Peter Zaback
6a01616700
Add stable versions of latest gemini models (#1520) 2024-06-19 11:11:48 -07:00
Nate Sesti
82f0329124 warn user if potentially dangerous command is generated 2024-06-19 10:11:15 -07:00
Nate Sesti
7fc43c1aa4 Merge branch 'preview' of https://github.com/continuedev/continue into preview 2024-06-18 21:30:51 -07:00
Nate Sesti
c56ccc23f4 🐛 deepseek max stop words 2024-06-18 21:30:44 -07:00
Tijs Zwinkels
cecbdf3ecc
Project file path in LLM context for highlighted code (#1509) 2024-06-18 18:44:21 -07:00
maxxrdrgz
a3b5146374
Bugfix for /comment slash command which does nothing. (#1512)
* - fixed a bug where /comment doesn't actually do anything unless prompted to.
- if the user doesn't provide input after /comment, replace it with default /comment input found in comment.ts

* added comment for clarity
2024-06-18 18:43:20 -07:00
Mark Percival
feb765847e
Fix: Correct codestral model name typo in docs (#1507) 2024-06-18 18:43:00 -07:00
Peter Zaback
0e605857cd
Feat/gemini error handling (#1511)
* Verify response content exists before parsing

* Streamline response validation logic
2024-06-18 18:40:33 -07:00
Nate Sesti
c8709c299f continue proxy FIM support 2024-06-17 17:34:45 -07:00
百地 希留耶
39337202c0
📝 config.ts is a TypeScript file, not a Python file (#1504) 2024-06-17 11:40:43 -07:00
Nate Sesti
d624e8bfac upgrade version 2024-06-17 10:33:05 -07:00
Nate Sesti
8a75e0f7af 🐛 fix split of undefined bug 2024-06-17 00:52:22 -07:00
Nate Sesti
4f8e907d05
Improved code linking (#1500)
* allow setting apiBase for bedrock provider

* ⚡️ better linking

* ✨ new prompt file action

* ⚡️ strip <COMPLETION> from GPT-4 completion
2024-06-16 19:54:32 -07:00
Nate Sesti
f97573e77e ⚡️ strip <COMPLETION> from GPT-4 completion 2024-06-16 19:15:22 -07:00
Ruben Kostandyan
53aab1e6fd
feat(core): add support for Llama models on Bedrock (#1499)
This commit adds support for streaming completions from Llama models alongside with Anthropic's Claude on Bedrock. Key changes:

- Introduce a `BedrockModelToolkit` interface to encapsulate model-specific logic for generating commands and unwrapping response chunks
- Implement `AnthropicClaude3Toolkit` for Claude model
- Implement `Llama3Toolkit` for Llama models
- Refactor `_streamChat` method to use the appropriate toolkit based on the selected model
- Clean up code formatting and remove unused imports

Co-authored-by: Ruben Kostandyan <kostard@amazon.com>
2024-06-16 15:09:59 -07:00
Ruben Kostandyan
38b1f54b0d
Bedrock client refactoring and move to @aws-sdk/credential-providers (#1491)
* Refactor Bedrock LLM client

- Removed unused AWS auth logic
- Simplified message/content conversion

* Improve AWS credentials handling for Bedrock models
- Using @aws-sdk/credential-providers to support wider range of credential provider options
- Removing custom logic of parsing aws credentials file

---------

Co-authored-by: Ruben Kostandyan <kostard@amazon.com>
2024-06-16 10:35:02 -07:00
Scott Schluer
78d6ee815b
CON-240: Updated FileContextProvider, FolderContextProvider and useSubmenuContextProvider to increment display of path parts to ensure unique displays when duplicates exist in the items list (#1494) 2024-06-16 10:31:26 -07:00
Reo
09d256ad56
fix(core): use TextDecoderStream for stream response (#1498) 2024-06-16 10:27:37 -07:00
John Wang
791a75f7a3
Handle binary blobs (#1493) 2024-06-16 10:25:34 -07:00
Nate Sesti
5a7083ba54 ✨ new prompt file action 2024-06-14 16:30:34 -07:00
Nate Sesti
3a96050e3d ⚡️ better linking 2024-06-14 15:45:25 -07:00
maxxrdrgz
5edc0cba7e
Multi-Build/Package VS Code extensions on single computer. (#1473)
* added try catch on newly added code to buildjs that copies node_sqlite3 to a build directory that may not exist

* fix typo extensioins -> extensions

* added new npm command to build for all platforms

* started adding code to download the ripgrep binaries, will have to finish at a later date

* - added platforms global variable
- added check for --all parameter
- moved alpine check to utils
- moved all packaging code to package()
- added links to esbuild binaries
- chaged code in IIFE to either package for all or package for target

* moved alpine config to utils

* added the code that will download the ripgrep binaries

* added npm run script package-all which will run the package-all.js script

* added package-all script which will package all major builds

* - commented out old downloadEsbuildBinary and rewrote it
- finished the downloadRipgrepBinary() and exported it

* - added back some of the old code to make this script reusable
- commented out the esbuild download and install in favor of downloading the prebuilt binary
- download the ripgrep binary
- containerized the all of the package code into package() and call it in the IIFE

* added a check for the --target flag and append it to the vsce command

* removed unused variable
2024-06-14 10:43:31 -07:00
Nate Sesti
6c63aeb5dc allow setting apiBase for bedrock provider 2024-06-14 09:11:01 -07:00
Peter Zaback
f3d200afe4
Jupiter is not the 9th planet 😉 (#1475)
If the reference to "after Mars," is
desired for some reason, punctuation should
probably be added for clarity. E.g., "planet,
after Mars,", or "planet, following Mars,". Note
also that because this is a FIM example and "the
5th" is part of the sentence to be filled, it
shouldn't be included as part of the completion.
2024-06-14 08:59:24 -07:00
Nate Sesti
8f6d7ae0fd small color theme fix 2024-06-13 22:09:37 -07:00
Nate Sesti
b2c150cdde update version 2024-06-13 21:47:23 -07:00
Nate Sesti
6c6c6d51d1 🐛 a few jetbrains fixes 2024-06-13 21:10:58 -07:00
Nate Sesti
52ef90b5f4 setupCa in vscode extension 2024-06-13 17:29:15 -07:00
Nate Sesti
34e94bbe15 JetBrains inline edit fix 2024-06-13 15:22:46 -07:00
Nate Sesti
63abda81ae ✨ many jetbrains improvements 2024-06-13 14:53:26 -07:00
Nate Sesti
7338a842e9 catch write errors in kotlin if core binary stopped 2024-06-13 12:58:12 -07:00
Nate Sesti
cd3d95b7eb ⚡️ use transactions for autocomplete cache 2024-06-13 12:56:48 -07:00
Nate Sesti
582f85b87b update version 2024-06-13 10:14:55 -07:00
Nate Sesti
e1a7c27f05 🐛 fix getOpenFiles uri bug 2024-06-13 10:14:49 -07:00
Nate Sesti
dd048ebd16 fix jetbrains autocomplete alignment 2024-06-12 23:19:04 -07:00
Nate Sesti
61fb842f4e update version 2024-06-12 22:40:02 -07:00
Nate Sesti
fc3c063041
publish stubs (#1472)
* 💚 fix armhf packaging

* 💚 update package.json

* 💚 update package.json

* 🔖 update package.json version

* 🔖 update package.json version

* 🔖 update package.json version

* 🔖 update package.json version

* 💚 Update package.json version [skip ci]

* 💚 Update package.json version [skip ci]

* 🎨 update url

* 💚 Update package.json version [skip ci]

* 🔖 update package.json version

* 💚 Update package.json version [skip ci]

* 🔖 update package.json version

* 💚 force CI run because VS Code publish failed

* 🔖 update package.json version

* 📌 pin darwin-x64 runner image to macos-12

* 📌 also pin darwin-arm64 to macos-12

* 💚 also make official releases for pre-release

* ✏️ fix preview.yaml indentation

* 🔖 update package.json version

* 🔖 update package.json version

* 🔖 update package.json versino

* 🔖 update package.json version

* 🔖 update package.json version

* 💚 Update package.json version [skip ci]

* 💚 Update package.json version [skip ci]

* 💚 Update package.json version [skip ci]

* 💚 Update package.json version [skip ci]

* 💚 Update package.json version [skip ci]

* 💚 force ci run

* 💚 use pnpm, not npm

* 💚 install pnpm

* 💚 pnpm install

* ci fix

* 💚 wip

* 💚 don't re-install esbuild

* 🔖 update package.json version

* 🐛 fix URLs in client

* 🔊 log

* ➕ add esbuild as production dependency

* 🔊 hash by pnpm lock

* 🔊 log

* 🔖 version 131

* 🐛 fix merge

* 💚 Update package.json version [skip ci]

* 💚 force ci run

* 🐛 fix remote config

* ⚡️ system message migration

* 133

* 🔖 package.json version

* 🔖 update package.json version

* 💚 Update package.json version [skip ci]

* 👷 update preview.yaml

* 🔖 update package.json version

* log

* 💚 reinstall esbuild

* 💚 Update package.json version [skip ci]

* 💚 force ci run

* 💚 Update package.json version [skip ci]

* 🔒️ security improvements

* 💚 testing ci

* 💚 fix armhf packaging

* 🎨 update url

* 💚 use pnpm, not npm

* 💚 install pnpm

* 💚 pnpm install

* 💚 wip

* 🔊 log

* ➕ add esbuild as production dependency

* 🔊 hash by pnpm lock

* 🔊 log

* 🐛 fix merge

* 💚 force ci run

* 👷 update preview.yaml

* 💚 force ci run

* 🔒️ feature flags for free trial protection

* 🎨 fix launchdarkly init

* 🎨 catch launchdarkly errors

* 💚 Add GitHub Actions

* 📝 add README for continue-deploy

* 📝 git push note

* 👔 fill in stubs for remote config

* 🚸 stop github login request

* 💚 update CI to use .nvmrc

* 🔒️ security improvements

* 🔖 update version

* 💚 Update package.json version [skip ci]

* ✨ continue server client

* 🎨 clean up stubs

* 💚 Update package.json version [skip ci]

* 🎨 send 'repo' in indexing/cache request

* 🔥 remove codeql.yaml

* 🔊 log full text of index cache errors

* 🔖 update package.json version

* 💚 Update package.json version [skip ci]

* 💚 Update package.json version [skip ci]

* 💚 Update package.json version [skip ci]

* 💚 Update package.json version [skip ci]

* 🔖 update package.json version

* 💚 Update package.json version [skip ci]

* 👷 run testPackaging.js in CI

* 👷 print all missing files

* 🐛 correct linux path

* 🔊 log grandgrandparent folder

* 💚 testing ci

* 💚 fix ci

* 💚 fix armhf packaging

* 💚 update package.json

* 💚 update package.json

* 🔖 update package.json version

* 🔖 update package.json version

* 🔖 update package.json version

* 🔖 update package.json version

* 💚 Update package.json version [skip ci]

* 💚 Update package.json version [skip ci]

* 🎨 update url

* 💚 Update package.json version [skip ci]

* 🔖 update package.json version

* 💚 Update package.json version [skip ci]

* 🔖 update package.json version

* 💚 force CI run because VS Code publish failed

* 🔖 update package.json version

* 📌 pin darwin-x64 runner image to macos-12

* 📌 also pin darwin-arm64 to macos-12

* 💚 also make official releases for pre-release

* ✏️ fix preview.yaml indentation

* 🔖 update package.json version

* 🔖 update package.json version

* 🔖 update package.json versino

* 🔖 update package.json version

* 🔖 update package.json version

* 💚 Update package.json version [skip ci]

* 💚 Update package.json version [skip ci]

* 💚 Update package.json version [skip ci]

* 💚 Update package.json version [skip ci]

* 💚 Update package.json version [skip ci]

* 💚 force ci run

* 💚 use pnpm, not npm

* 💚 install pnpm

* 💚 pnpm install

* ci fix

* 💚 wip

* 💚 don't re-install esbuild

* 🔖 update package.json version

* 🐛 fix URLs in client

* 🔊 log

* ➕ add esbuild as production dependency

* 🔊 hash by pnpm lock

* 🔊 log

* 🔖 version 131

* 🐛 fix merge

* 💚 Update package.json version [skip ci]

* 💚 force ci run

* 🐛 fix remote config

* ⚡️ system message migration

* 133

* 🔖 package.json version

* 🔖 update package.json version

* 💚 Update package.json version [skip ci]

* 👷 update preview.yaml

* 🔖 update package.json version

* log

* 💚 reinstall esbuild

* 💚 Update package.json version [skip ci]

* 💚 force ci run

* 💚 Update package.json version [skip ci]

* 🔒️ security improvements

* 💚 testing ci

* 💚 fix armhf packaging

* 🎨 update url

* 💚 use pnpm, not npm

* 💚 install pnpm

* 💚 pnpm install

* 💚 wip

* 🔊 log

* ➕ add esbuild as production dependency

* 🔊 hash by pnpm lock

* 🔊 log

* 🐛 fix merge

* 💚 force ci run

* 👷 update preview.yaml

* 💚 force ci run

* 🔒️ feature flags for free trial protection

* 🎨 fix launchdarkly init

* 🎨 catch launchdarkly errors

* 🔒️ v1 header

* 🔖 update package.json version

* 💚 Update package.json version [skip ci]

* 🔀 merge fixes

* 🔀 another merge fix

* 👷 update ci for refactor-core

* 👷 remove refactor-core from ci

* 🔖 update package.json version

* 🚚 fix ci

* 🔖 update package.json version

* 🎨 use telemetry to get free trial headers

* 🔖 version update

* 🎨 remove launchdarkly from headers

* 🎨 update server auth

* 🩹 update def of connected

* 🔖 version update

* 🔖 update version

* update main.yaml

* version

* 💚 Update package.json version [skip ci]

* 💚 Update package.json version [skip ci]

* fix codesral prompt

* version

* 💚 Update package.json version [skip ci]

* 💚 Update package.json version [skip ci]

* v

* update version

* 💚 Update package.json version [skip ci]

* update package.json version

* Changes

* remove README.md

---------

Co-authored-by: GitHub Action <action@github.com>
2024-06-12 22:30:27 -07:00
Nate Sesti
e2a90ae521 🐛 remove parsing response 2024-06-12 17:05:13 -07:00
Nate Sesti
cba60c4cf3 make faviconUrl optional 2024-06-12 16:54:18 -07:00
Nate Sesti
5bab75051b better getOpenFiles 2024-06-12 12:08:45 -07:00
Nate Sesti
d25b866449 ✨ feedback mechanism for autocomplete 2024-06-11 23:47:35 -07:00
Nate Sesti
2ac8a46d2b ✨ support for all context providers in .prompt files 2024-06-11 22:41:30 -07:00
Nate Sesti
6cf4467000 don't render the title of some context providers 2024-06-11 21:33:35 -07:00
Nate Sesti
cfddbd95ad Merge branch 'preview' of https://github.com/continuedev/continue into preview 2024-06-11 15:29:03 -07:00
Nate Sesti
8a4003672b ⚡️ filter out extreme repetitions from autocomplete 2024-06-11 15:28:59 -07:00
Peter Zaback
6df3bfbb1d
Feat/improve gemini api calling (#1469)
* Reformat system message for Gemini v1beta

* Fix mistakenly inverted logic

* Convert Continue options to Gemini API format
2024-06-11 14:04:33 -07:00