Commit graph

19 commits

Author SHA1 Message Date
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
5164676197 ✨ gemma chat template 2024-03-15 09:57:50 -07:00
Nate Sesti
ef609833df ✨ Claude 3 Support 2024-03-04 12:10:24 -08:00
Nate Sesti
8087465c90 🐛 default system message for wizardcoder 2024-02-21 16:26:26 -08:00
thirdmadman
f95a54d9c2
fix: correct llama2TemplateMessages (#855) 2024-02-15 10:05:57 -08:00
Nate Sesti
00ce0255b1 🐛 chat template for codellama-70b 2024-01-31 14:38:52 -08:00
Nate Sesti
88e81221f0 merge nate/doc-crawl 2024-01-24 22:25:26 -08:00
Nate Sesti
cbfb1314eb 🎨 setup proper types for image support 2024-01-19 17:59:37 -08:00
Nate Sesti
addb6242e6 Merge branch 'feature/add-phi2-support' of https://github.com/apawloski/continue into apawloski-feature/add-phi2-support 2024-01-16 09:21:55 -08:00
Tomás Correia Marques
8c2146e54d
add support for neural-chat (#749) 2024-01-16 09:03:40 -08:00
Andrew Pawloski
e1c0ae0562 Establishes chat/edit templates for Phi-2 2024-01-10 21:07:10 -05:00
Nate Sesti
9547a5a82e ✨ add xwin-coder prompt template 2024-01-05 11:23:13 -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
4c4b15cb51 🚧 fully hooked up vertical diff 2023-12-30 00:46:32 -05:00
Nate Sesti
3fa0960757 🐛 fix gemini, add openchat template 2023-12-27 14:40:03 -05:00
Nate Sesti
e1ed7ed0a2 ✨ config.ts 2023-12-14 12:47:01 -08:00
Nate Sesti
8ad5cb8c9f 🚧 write rest of LLM classes 2023-12-08 00:18:23 -08:00
Nate Sesti
552b4e3586 ⚡️ Rewrite LLM class without bugs 2023-12-06 08:06:31 -08:00