Commit graph

590 commits

Author SHA1 Message Date
Nate Sesti
6834e7bd3d Merge branch 'main' into preview 2024-03-28 08:08:09 -07:00
David Roegiers
f2fd3a1213
adding davinci-002 to the gpt autocomplete set (#1039) 2024-03-28 07:42:23 -07:00
Nate Sesti
57ce21197e 🎨 implement server client interface 2024-03-27 20:36:39 -07:00
Nate Sesti
90e9933c97 🎨 add getRepoName to IDE, use for indexing 2024-03-27 20:32:52 -07:00
Nate Sesti
a5bfcfe27d
⚡️ Improved edit prompts for OS models (#1029)
* 💄 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
2024-03-27 13:47:19 -07:00
Nate Sesti
98affeaa81
🔥 Improved Ctrl/Cmd+I (#1023)
* ⚡️ 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
2024-03-26 15:55:32 -07:00
Nate Sesti
898506b492 🩹 add .t. to stop words 2024-03-26 15:09:19 -07:00
Nate Sesti
2982d7c843 🩹 add filter for midline imports/top-level keywords and encoding header 2024-03-26 11:57:00 -07:00
Nate Sesti
6beed836be Merge branch 'nate/bootstrap' into preview 2024-03-24 15:08:34 -07:00
Nate Sesti
40364adfb5 🎨 indexing 2024-03-24 15:08:25 -07:00
Marius
f1f8967b6c
fix(llm/Ollama): changed buffer handling like in streamChat() 2024-03-22 09:11:46 +01:00
German Swan
0bdac760f7
Config: add ui.codeBlockToolbarPosition (#1006)
* Config: add ui.codeBlockToolbarPosition

* remove ui from default config, remove "true" used for debugging
2024-03-22 00:02:57 -07:00
Shankhadeep Dey
ef282d194b
Fix/autocomplete errors (#1007)
* fix: tab autocomplete URL and remove unnecessary code

* fix: formatting issues in completionProvider.ts

* remove: error handling in ContinueCompletionProvider
2024-03-22 00:01:56 -07:00
Nate Sesti
b43c774101 Merge branch 'fix/jsdom-import' of https://github.com/germankrause/continue into germankrause-fix/jsdom-import 2024-03-21 17:54:09 -07:00
Peter Zaback
8aa06607cc
Update message to match revised shortcut (#1002) 2024-03-21 17:51:43 -07:00
Nate Sesti
c8bdb05d81 Merge branch 'main' into preview 2024-03-21 17:11:55 -07:00
German Swan
942d82b5c5 remove require("jsdom") as it can be imported as usual 2024-03-21 12:34:38 +02:00
German Swan
d74eb71da9 Merge branch 'preview' into fix/jsdom-import 2024-03-21 12:33:21 +02:00
German Swan
f6c8fbec3b remove unnecessary async/await 2024-03-21 12:23:08 +02:00
German Swan
43448b1853 Merge remote-tracking branch 'upstream/preview' into fix/jsdom-import 2024-03-21 12:21:16 +02:00
Nate Sesti
871d0bb6d3 📌 update package locks to new @continuedev/core version 2024-03-20 22:06:52 -07:00
Nate Sesti
6e5d4a4d1b 🐛 fix error loading code context provider first time 2024-03-20 21:57:22 -07:00
Nate Sesti
3e9ca173f6 🩹 disable .yaml tree-sitter 2024-03-20 21:57:02 -07:00
Nate Sesti
8140600a8c 🐛 copy over xhr-sync-worker for jsdom 2024-03-20 21:43:16 -07:00
Nate Sesti
15fd7ae331 🩹 switch to lowercase for docs lancedb schema 2024-03-20 21:39:08 -07:00
Nate Sesti
4c13ac753b 🚸 allow errors parsing config.json to be thrown 2024-03-20 19:27:34 -07:00
Nate Sesti
96074a529d 🩹 disable free trial for autocomplete (because none of the models are built for this) 2024-03-20 16:45:26 -07:00
Nate Sesti
30a3adf04e 🩹 add claude models to /models response for free trial 2024-03-20 10:16:28 -07:00
German Swan
0ecac84610 add issue to the comment 2024-03-20 13:10:30 +02:00
German Swan
59b2040faf add warning comment
remove unnecessary async/await
2024-03-20 13:09:12 +02:00
German Swan
9a25999092 jsdom import -> require 2024-03-20 11:39:03 +02:00
Nate Sesti
e6ddab32a2 ✨ shared indexing 2024-03-19 23:07:28 -07:00
Nate Sesti
224089b74a 🩹 ensure ordering in markComplete 2024-03-19 22:57:41 -07:00
Nate Sesti
3a38495412 🔧 generate .d.ts files 2024-03-19 17:33:36 -07:00
Nate Sesti
67954525c4 🩹 filter out empty messages in case of error 2024-03-19 17:33:20 -07:00
Nate Sesti
5e6a77d279 🏷️ publish types with @continuedev/continue on npm 2024-03-19 15:35:28 -07:00
Nate Sesti
0c9748322a ⚡️ temporarily userOtherFiles: false as default 2024-03-19 14:58:07 -07:00
Nate Sesti
52e1b687bd 🔥 add tests to .npmignore 2024-03-19 12:54:17 -07:00
Nate Sesti
2f93b3bc7f 🔖 bump @continuedev/continue version 2024-03-19 12:39:07 -07:00
Nate Sesti
e236cef37c 📦 package .js in npm package 2024-03-19 12:33:37 -07:00
Nate Sesti
d87df3f7ea ✨ add pre-indexed langchain 2024-03-19 11:54:53 -07:00
Nate Sesti
3bd9c8996c
💫 Preview (#996)
* feat: add fixed version of the nodejs

* revert accidentally committed files

* add: unified version of the Node.js that is used locally and on Github Actions

* Set itemType for querySubmenuItem

This is necessary before calling props.command the same way we do it for non-query item types. Otherwise we receive an 'Unknow provider...' error message in the 'getContextItems' case in the 'panel.webview.onDidReceiveMessage, callback.

* include @vscode node module folder

we need the @vscode folder containing ripgrep in the distribution.

* Amended path for ripgrep executable

We have to preprend the 'out' folder in order to find the ripgrep executable in the distribution.
Prepending 'out' during development is not necessary. We need a way to distinguish in 'ideProtocol'?

* implemented locals context provider

* normal to submenu(select thread) for the locals provider

* added code context from the call stack

* use parameter for callstack retrieving

* added thread filtering and handle a edge case

* revert accidentally committed file

* temporary fix to use refreshSubmenuItems

* added updateSubmenuItems request

* refactor: changed the interface of threads

* polished format and file reading

* added a little doc

* typo

* revert accidentally committed file

* ✨ UI for JetBrains autocomplete

* 🎨 decouple autocomplete from VS Code extension

* ✨ autocomplete in core protocol

* 🚧 jetbrains autocomplete fixes

* 🐛 successfully get responses for jetbrains autocomplete

* Refactored web crawling code for document indexing. The updated code uses a breadth-first search, filters out specific paths, and ensures that websites are not downloaded twice.

* update hasDocs to use new pattern

* feat: add gitlab context class

* feat: update to work as normal context provider

* fix: add context provider

* feat: add code that comment is based on

* docs: add documentation

* feat: enable comment filtering

* 🐛 fix autocomplete with azure

* ✨ jetbrains multiline completions

* 🐛 fix file reading in autocomplete

* ✨ option to disable jetbrains autocomplete

* 📌 update package-lock files

* 🐛 fix localhost ollama bug with jetbrains binary

* 🔥 disable apply to file in jetbrains for now

* 🚸 fix constant re-rendering of code vision in jetbrains

* 🔖 update package.json versiojn

* 🐛 don't override user temperature value for tab autocomplete model

* Fix chat msg formatting in Output for image models (#971)

* 📝 tweak docs for "locals" ctx provider

* 🩹 small tweak to link filtering logic

* Add more C++ extensions for AST parser (#972)

* 🔥 remove ruby example file

* add claude3 to free trial

* 🐛 fix codelens in tutorial

* 🧱 change server url

* 🐛 don't send image_url if not image type

* 🔧 update config schemas

* 📌 update npm version to v20.11.0

* 📈 Locally track tokens generated and show stats (#987)

* ✨ log tokens generated locally

* 💄 UI for usage stats

* 🔥 delete unused test file

* 🚚 rename core package for publishing on npm

* Remove duplicate itemType property (#986)

* 🔒️ add .env to .gitignore for npm package

* Add SystemContextProvider to context providers so that users can use … (#988)

* Add SystemContextProvider to context providers so that users can use their own system cpu and os for a resource

* change to OSContextProvider

* update descriptor

* 🎨 export transformers.js

* 🐛 fix /edit for anthropic

* 🚑 fix autocomplete by binding function

---------

Co-authored-by: my8bit <mail@my8bit.name>
Co-authored-by: Ihor Pavlenko <my8bit@users.noreply.github.com>
Co-authored-by: Lars Pagh <lp@airsupport.dk>
Co-authored-by: commandblock2 <tony_hu@live.com>
Co-authored-by: Jason Jacobs <nerfnerd@gmail.com>
Co-authored-by: Ben Force <benforce@gmail.com>
Co-authored-by: Peter Zaback <pzaback@gmail.com>
Co-authored-by: SR_team <sr_team@sr.team>
2024-03-19 10:35:28 -07:00
Nate Sesti
c3e4372076 Merge branch 'main' into preview 2024-03-19 10:33:03 -07:00
Nate Sesti
05f4722e7f Merge branch 'preview' of https://github.com/continuedev/continue into preview 2024-03-19 10:27:37 -07:00
Nate Sesti
bc1bbab3b7 🐛 fix /edit for anthropic 2024-03-19 10:26:51 -07:00
Nate Sesti
535b5afffd 🎨 export transformers.js 2024-03-19 10:11:47 -07:00
Jason Jacobs
60d2cb4450
Add SystemContextProvider to context providers so that users can use … (#988)
* Add SystemContextProvider to context providers so that users can use their own system cpu and os for a resource

* change to OSContextProvider

* update descriptor
2024-03-18 21:26:11 -07:00
Nate Sesti
f010d9529c 🔒️ add .env to .gitignore for npm package 2024-03-18 21:08:03 -07:00
Nate Sesti
f0b38ca718 🚚 rename core package for publishing on npm 2024-03-18 20:42:25 -07:00
Nate Sesti
e055541c97 🔥 delete unused test file 2024-03-18 20:42:11 -07:00