Commit graph

90 commits

Author SHA1 Message Date
Nate Sesti
88fcace507 Revert "🔧 forceCompletionsEndpointType option"
This reverts commit dd51fcbb7f.
2024-04-18 14:42:53 -07:00
Nate Sesti
dd51fcbb7f 🔧 forceCompletionsEndpointType option 2024-04-18 14:36:07 -07:00
Nate Sesti
239f8449a4 🚚 again, starcoder, not 2 2024-04-10 19:01:33 -07:00
Nate Sesti
e893049fcc
✨ customizable rerankers (#1088)
* ✨ customizable rerankers

* 💄 fix early truncation button

* ⚡️ improvements to full text search + reranking

* ⚡️ only use starcoder2 stop words for starcoder2

* ⚡️ crawl code graph for call expressions

* 🚧 starcoder2-7b free trial

* 🚧 free trial client for embeddings and re-ranking

* 🚧 embeddings provider

* ✅ test for presence of files in CI

* 🐛 fixes to reranking
2024-04-09 22:59:42 -07:00
postmasters
d05c00d5fe
Add FIM template for CodeGemma (#1097)
Also pass stop tokens to llama.cpp.
2024-04-09 19:42:22 -07:00
Nate Sesti
4f225349f0 🔧 option to disable autocomplete from config.json 2024-04-08 08:05:41 -07:00
Nithish
c54cd7a26d
fix: cursor focus issue causing unwanted return to text area (#1086)
* 📝 mention autocomplete in jetbrains

* 📝 Tab-autocomplete README

* 🔥 remove note about custom ctx providers only being on VS Code

* 📝 docs about http context provider

* 👥 pull request template

* Update from Claude 2 to Claude 3 (#1078)

* 📝 add FAQ about single-line completions

* 📝 update autocomplete docs

* fix cursor focus issue causing unwanted return to text area

---------

Co-authored-by: Nate Sesti <sestinj@gmail.com>
Co-authored-by: Ty Dunn <ty@tydunn.com>
Co-authored-by: Nate Sesti <33237525+sestinj@users.noreply.github.com>
2024-04-07 16:38:23 -07:00
Nate Sesti
1378ef8ee5 📝 recommend starcoder2 2024-04-04 18:22:19 -07:00
Nate Sesti
5bd38e3cc9 🩹 add new starcoder artifact as stopword 2024-04-04 14:57:02 -07:00
Nate Sesti
f86016b73e 🩹 small tweaks to stop words 2024-04-04 12:09:02 -07:00
lmaosweqf1
e4d7b16238
Merge branch 'preview' into patch-1 2024-04-04 10:29:47 +03:00
lmaosweqf1
26c2f2fc9b
Update completionProvider.ts
as @rootedbox suggested
2024-04-04 10:24:23 +03:00
ading2210
888a28e574
make the useCopyBuffer option effective (#1062) 2024-04-03 20:02:48 -07:00
Nate Sesti
b777d60481 🩹 set default autocomplete temp to 0.01 to be strictly positive 2024-04-03 19:38:04 -07:00
lmaosweqf1
91846d7181
Update completionProvider.ts
Add \r\n\r\n stop to tab completion
2024-04-02 12:39:37 +03:00
Nate Sesti
d98264ac5a 🐛 fix autocomplete bug 2024-04-01 22:20:45 -07:00
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