Commit graph

74 commits

Author SHA1 Message Date
Nate Sesti
2abdfe1ec4 ⚡️ update an important stop word for starcoder2, improve dev data 2024-04-01 21:33:38 -07:00
Nate Sesti
7d21c5bbb2 🩹 make sure autocomplete works with claude 2024-03-29 00:54:00 -07:00
Nate Sesti
09251d7f88 🐛 fix bug causing part of completions to be skipped 2024-03-29 00:02:46 -07:00
Nate Sesti
abec395a4c ⚡️ improved OpenAI autocomplete support 2024-03-29 00:02:26 -07:00
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
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
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
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
3a38495412 🔧 generate .d.ts files 2024-03-19 17:33:36 -07:00
Nate Sesti
0c9748322a ⚡️ temporarily userOtherFiles: false as default 2024-03-19 14:58:07 -07:00
Nate Sesti
5b3dda0038 🐛 don't override user temperature value for tab autocomplete model 2024-03-16 14:29:39 -07:00
Nate Sesti
d96cc7c3a3 Merge branch 'main' into preview 2024-03-16 01:33:03 -07:00
Nate Sesti
de2442e0fc 🐛 catch parsing errors for unsupported languages 2024-03-16 01:32:48 -07:00
Nate Sesti
099eac3a2b Merge branch 'preview' into nate/jetbrains-autocomplete 2024-03-15 12:25:28 -07:00
Riccardo Schirone
caa7aa9459
Add autocomplete support for Solidity (#964) 2024-03-14 13:23:16 -07:00
Nate Sesti
6cbcd33e9d 🚧 jetbrains autocomplete fixes 2024-03-13 20:32:48 -07:00
Nate Sesti
805e002fc7 🎨 decouple autocomplete from VS Code extension 2024-03-12 19:40:57 -07:00
Nate Sesti
b006874353 Merge branch 'nate/code-context-provider' into preview 2024-03-12 00:44:55 -07:00
Nate Sesti
36f62daa66 🐛 use same starcoder template for starcoder2 2024-03-11 20:42:25 -07:00
Nate Sesti
4bb20cd557 Merge branch 'preview' into nate/code-context-provider 2024-03-09 13:54:28 -08:00
Nate Sesti
fa8d6fc36a 🚧 full draft of code context provider 2024-03-09 13:54:19 -08:00
Nate Sesti
a428d3eff6 Merge branch 'main' into preview 2024-03-06 19:31:16 -08:00
Nate Sesti
1331d5d7ba ⚡️ use starcoder2 fim template without metadata 2024-03-06 16:51:06 -08:00
Nate Sesti
f3b0dbc953 ✨ starcoder2 FIM prompt formatting 2024-03-06 16:34:17 -08:00
Aaron Alexander
49108568ca
Adds support for Octocoder for autocomplete (#930) 2024-03-06 15:54:59 -08:00
Nate Sesti
1ceda7377f 🎨 make GeneratorReuseManager non-static 2024-03-03 18:51:17 -05:00
Nate Sesti
d1fb9e3641 ⚡️ reuse multi-line responses for much faster line-by-line completions 2024-03-02 22:17:24 -05:00
Nate Sesti
8187e0d39a 🐛 don't try to calculate AST in non-code files 2024-03-02 21:28:23 -05:00
Nate Sesti
c9f53d7c76 ⚡️ stop autocomplete if lines are repeating 2024-03-02 21:11:07 -05:00
Nate Sesti
48a037b1d5 🐛 fix bug stopping multi-line completions with Ollama 2024-03-02 20:15:53 -05:00
Nate Sesti
2eb647656b 🎨 format all files with .prettierrc 2024-03-02 20:02:33 -05:00
Nate Sesti
d90e7dce92 🎨 formatting + fix viewType of undefined 2024-03-02 19:38:27 -05:00
Nate Sesti
762d6c10f4 ✨ onlyMyCode option for tab-autocomplete 2024-02-29 23:30:19 -05:00
Nate Sesti
97b2c04f80 ✨ useCache customization option 2024-02-29 20:49:49 -05:00
Nate Sesti
430163fbf8 🚧 getScopeAroundRange 2024-02-29 11:57:52 -05:00
Nate Sesti
3aab78384a ⚡️ only include recently edited snippets above similarity threshold 2024-02-29 11:43:31 -05:00
Nate Sesti
c4598b7685 ⚡️ stop autocomplete model from outputting // Path: ... 2024-02-29 11:30:46 -05:00
Nate Sesti
bc7e7d591d ✨ handful of autocomplete edges cases fixed 2024-02-29 11:27:37 -05:00
Nate Sesti
7af502c2f3 ⚡️ fill prompt with highest scoring snippets 2024-02-28 20:20:45 -05:00
Nate Sesti
a7cc1f32e5 🚧 working on fixing up after merging preview to tab-auto 2024-02-27 23:23:37 -05:00
Nate Sesti
4a6ae9d02d Merge branch 'preview' into nate/flight-tab-auto 2024-02-27 23:23:14 -05:00
Nate Sesti
52942824a1 🎨 update LSP usage for autocomplete 2024-02-25 10:10:39 -05:00
Nate Sesti
e147b5abfe ⚡️ deduplicate autocomplete snippets 2024-02-24 23:35:34 -05:00
Nate Sesti
28a8e81cb9 🚧 jaccard similarity to rank snippets 2024-02-24 19:15:07 -05:00
Nate Sesti
7d80820d73 Merge branch 'nate/merge-preview-to-atwood-p2' into preview 2024-02-23 21:08:08 -05:00
Nate Sesti
94052a0742 🐛 remove empty end of line for tab autocomplete 2024-02-23 16:17:08 -05:00