Commit graph

17 commits

Author SHA1 Message Date
Nate Sesti
df71ad724e ✨ Dropdown to select model 2024-04-01 15:27:51 -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
5d1c57e317 🔊 log ctx prov name 2024-03-23 10:11:53 -07:00
Nate Sesti
eb911d9048 🐛 fix webview request bug 2024-03-03 16:09:49 -05:00
Nate Sesti
2eb647656b 🎨 format all files with .prettierrc 2024-03-02 20:02:33 -05:00
Nate Sesti
b43a63b6a4 Merge branch 'preview' into nate/merge-preview-to-atwood-p2 2024-02-19 15:17:45 -08:00
Nate Sesti
060431e0bb 🚧 dep injection (roughly) in vscode extension 2024-02-13 20:58:29 -08:00
Nate Sesti
e8a20e1590 ✨ cmd/ctrl+z to reject quick edit diff 2024-02-09 22:40:52 -08:00
Nate Sesti
4d93311a2b ✨ follow-up quick edits with cmd/ctrl+shift+L 2024-02-09 21:35:44 -08:00
Nate Sesti
bb582f86b0 🚸 stop button for streaming diffs 2024-01-30 19:36:37 -08:00
Nate Sesti
c8b8f0c6e3 🩹 catch error and remove highlights when cmd+shift+L fails 2024-01-24 11:41:46 -08:00
Nate Sesti
45e2b50b0a ⚡️ many adjustments to OS model output to clean it up 2024-01-02 12:48:08 -05:00
Nate Sesti
03350455e3 🐛 fix insertion at end of file bug 2024-01-01 16:00:35 -05:00
Nate Sesti
6af81ef241 🐛 fix bug causing wrong range to be edited 2024-01-01 14:52:39 -05:00
Nate Sesti
1f6ff7f222 ✨ codelens to accept/reject vertical diff 2024-01-01 14:47:33 -05:00
Nate Sesti
3e3be61a2b 🎨 refactor vertical diff into multiple files 2024-01-01 13:25:36 -05:00