Commit graph

5463 commits

Author SHA1 Message Date
Nate Sesti
d392a0fb43 fix merge mistake 2024-06-23 12:49:35 -07:00
Nate Sesti
d8ce2279fb Merge branch 'main' into preview 2024-06-23 12:44:14 -07:00
Nate Sesti
6abdd90744 upgrade package.json version 2024-06-21 15:58:52 -07:00
Nate Sesti
777a4e273b 🐛 fix regression in /edit slash command 2024-06-21 15:58:34 -07:00
Nate Sesti
8edee2c3ad cross-platform NODE_OPTIONS env var 2024-06-21 13:09:25 -07:00
Nate Sesti
287aeec1ae add openai api key to env for tests 2024-06-21 12:25:41 -07:00
Nate Sesti
ca884b8212
fix ollama onboarding (#1539)
* allow setting apiBase for bedrock provider

* ⚡️ better linking

* ✨ new prompt file action

* ⚡️ strip <COMPLETION> from GPT-4 completion

* continue proxy FIM support

* warn user if potentially dangerous command is generated

* tab autocomplete docs

* docs: update PR template (#1531)

* chore: add docs to install script (#1533)

* fix(extensions): schema for db ctx provider (#1534)

* fix(extensions): schema for db ctx provider

* fix: invalid enum

* prettierignore

* docs: add docs and schema for "OS" provider (#1536)

* tests (#1501)

* 👷 CI for jetbrains

* default working dir

* changelog

* build binaries

* binary testing setup

* idesettings

* core binary testing

* run binary tests in ci

* remove unused targets

* needs build

* console.log bin contents

* fix ci

* fix win32 binary download

* test

* no linux arm64

* macos latest

* macos-12

* binary permissions

* upload logs

* fix

* upload full folder as binary artifact

* test

* test macos only

* set full execute permissions

* copy sqlite binary

* cd

* it worked!

* build again in test job

* debug

* remove timeout

* info

* log

* log2

* more logs

* catch

* fewer logs

* test all platforms

* test downloaded artifact

* needs build

* updates

* build

* false

* release

* add tag and upload binaryes

* change tag name

* proper artifact upload

* jest updates

* ✅ generate a few unit tests with Continue

* fix imports related to IdeSettings

* run tsc on PRs

* remove shareSession command (unused)

* update release process

* update plugin version

* don't show ghost text when jetbrains completion visible

* run jetbrains ci in main

* check ts in dev

* ignore .env

* 🚑 fix constant warnings when onboarding with Ollama

---------

Co-authored-by: Patrick Erichsen <patrick.a.erichsen@gmail.com>
2024-06-21 11:09:03 -07:00
Jason Jacobs
066e6f932b
only allow tcp connections locally (#1525) 2024-06-21 10:35:55 -07:00
Nate Sesti
a5f3a4d75b tweak claude3.5 display 2024-06-20 17:45:49 -07:00
Nate Sesti
c0705b3631 ✨ claude 3.5 sonnet 2024-06-20 17:41:58 -07:00
Nate Sesti
39975378e2 Merge branch 'Patrick-Erichsen-pe/azure-gui-selection' into preview 2024-06-20 17:19:46 -07:00
Nate Sesti
838c2f7369 avoid null values in config.json 2024-06-20 17:18:59 -07:00
Nate Sesti
5fe26de771 use a default apiVersion 2024-06-20 17:18:28 -07:00
Nate Sesti
d3f99fbcd9 Merge branch 'pe/azure-gui-selection' of https://github.com/Patrick-Erichsen/continue into Patrick-Erichsen-pe/azure-gui-selection 2024-06-20 16:36:51 -07:00
Nate Sesti
e1e6687d57 Merge branch 'preview' of https://github.com/continuedev/continue into preview 2024-06-20 16:36:45 -07:00
Nate Sesti
110cb42988 truncate api.deepseek.com stop tokens list 2024-06-20 16:36:13 -07:00
casscarpendale
a3f351a584
Update preIndexedDocs.ts (#1527)
Added Godot documentation to preIndexedDocs.ts
2024-06-20 12:30:10 -07:00
Patrick Erichsen
68f92138fe docs: fix typo on config dogs 2024-06-20 12:24:17 -05:00
Patrick Erichsen
3d53809082 fix(gui): typo 2024-06-20 12:05:14 -05:00
Patrick Erichsen
1847317436 feat: update docs and input labelling 2024-06-20 11:54:28 -05:00
Patrick Erichsen
d39fd552d1 Merge branch 'preview' into pe/azure-gui-selection 2024-06-20 11:35:33 -05:00
Patrick Erichsen
e11206b0fa feat(gui): more config for azure provider 2024-06-20 11:34:10 -05:00
Patrick Erichsen
b7c0623ac6 feat(gui): Add Azure as a provider 2024-06-19 22:20:20 -05:00
Patrick Erichsen
f1b97f1039 refactor(gui): break down model config components 2024-06-19 17:29:57 -05:00
Nate Sesti
8bcfcd439d request description of cmd to be generated if not provided 2024-06-19 14:40:44 -07:00
Nate Sesti
58a04caa94
Dev (#1521)
* allow setting apiBase for bedrock provider

* ⚡️ better linking

* ✨ new prompt file action

* ⚡️ strip <COMPLETION> from GPT-4 completion

* continue proxy FIM support

* warn user if potentially dangerous command is generated

* tab autocomplete docs
2024-06-19 14:39:23 -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
Peter Zaback
6a01616700
Add stable versions of latest gemini models (#1520) 2024-06-19 11:11:48 -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
百地 希留耶
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
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
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
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
Ty Dunn
fbeb2e4fe1
messaging iteration 2 (#1480) 2024-06-13 18:37:42 -07:00