Commit graph

196 commits

Author SHA1 Message Date
Nate Sesti
7d21c5bbb2 🩹 make sure autocomplete works with claude 2024-03-29 00:54:00 -07:00
Nate Sesti
0902ff566a ✨ Add Groq as an official provider 2024-03-29 00:43:37 -07:00
Nate Sesti
abec395a4c ⚡️ improved OpenAI autocomplete support 2024-03-29 00:02:26 -07:00
Nate Sesti
c66826976e Merge branch 'preview' of https://github.com/tfire/continue into tfire-preview 2024-03-28 09:29:59 -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
EC2 Default User
7a2ed535fc Bedrock chat completion, Anthropic models 2024-03-26 07:34:59 +00:00
Marius
f1f8967b6c
fix(llm/Ollama): changed buffer handling like in streamChat() 2024-03-22 09:11:46 +01:00
Nate Sesti
30a3adf04e 🩹 add claude models to /models response for free trial 2024-03-20 10:16:28 -07:00
Nate Sesti
67954525c4 🩹 filter out empty messages in case of error 2024-03-19 17:33:20 -07:00
Nate Sesti
bc1bbab3b7 🐛 fix /edit for anthropic 2024-03-19 10:26:51 -07:00
Nate Sesti
caedc54a1c
📈 Locally track tokens generated and show stats (#987)
* ✨ log tokens generated locally

* 💄 UI for usage stats
2024-03-18 17:27:28 -07:00
Nate Sesti
0c75e4ccd2 🐛 don't send image_url if not image type 2024-03-18 09:57:32 -07:00
Nate Sesti
e49db6be9d 🧱 change server url 2024-03-18 00:35:23 -07:00
Nate Sesti
bde7f59d76 add claude3 to free trial 2024-03-17 23:51:02 -07:00
Peter Zaback
6a5ad0e5d0
Fix chat msg formatting in Output for image models (#971) 2024-03-16 14:33:19 -07:00
Nate Sesti
91a66740a5 Merge branch 'main' into preview 2024-03-16 14:08:44 -07:00
Nate Sesti
01c3195c88 ✏️ fix Azure OpenAI URL typo 2024-03-16 14:08:28 -07:00
Nate Sesti
38bf73869c 🐛 fix localhost ollama bug with jetbrains binary 2024-03-15 13:02:35 -07:00
Nate Sesti
099eac3a2b Merge branch 'preview' into nate/jetbrains-autocomplete 2024-03-15 12:25:28 -07:00
Nate Sesti
ca2b4c6e97 🐛 fix autocomplete with azure 2024-03-15 12:23:44 -07:00
Nate Sesti
5164676197 ✨ gemma chat template 2024-03-15 09:57:50 -07:00
Nate Sesti
ebff85795f 💡 add note about Jan stop words 2024-03-14 18:29:02 -07:00
Nate Sesti
88a254a8b0 🐛 fix token counting bug 2024-03-13 00:57:27 -07:00
Nate Sesti
572916ebbf 🐛 fix error listing Ollama tags in JetBrains 2024-03-12 23:24:56 -07:00
Nate Sesti
0c6f8d9605 🎨 use new URL everywhere instead of strings 2024-03-12 00:40:12 -07:00
Nate Sesti
261b08b18f ✨ image support for claude 3 2024-03-11 10:56:57 -07:00
Nate Sesti
52a142da64 🚸 parse URL for Ollama endpoint 2024-03-10 14:24:00 -07:00
Nate Sesti
fe385dcfe0 🎨 extra starcoder stop word 2024-03-10 11:10:39 -07:00
Bjørn Jørgensen
1d14eb46ef
Prefer using nullish coalescing operator (??) instead of a logical or (#922)
* Prefer using nullish coalescing operator (`??`) instead of a logical or (`||`), as it is a safer operator.

* index.ts

* more...

* more..

* indenting

* fix indenting
2024-03-08 22:41:04 -08:00
Nate Sesti
a428d3eff6 Merge branch 'main' into preview 2024-03-06 19:31:16 -08:00
Nate Sesti
0ad22a73df 🐛 fix anthropic requests with systemMessage 2024-03-06 19:27:36 -08:00
Nate Sesti
ae9e6db210 🚸 switch back to starcoder as default until starcoder2 prompt is fixed 2024-03-06 17:05:00 -08:00
Nate Sesti
2614465db7 ✨ ollama keep_alive 2024-03-06 16:20:27 -08:00
Nate Sesti
e090f1f7d8 🐛 filter out trailing EOT token from Together 2024-03-06 14:29:14 -08:00
Nate Sesti
752a2dffa9 ✨ release tab-autocomplete in main 2024-03-05 22:19:34 -08:00
Nate Sesti
ef609833df ✨ Claude 3 Support 2024-03-04 12:10:24 -08: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
90e76bcd4c 🐛 truncate stop words only for Jan 2024-03-01 16:25:41 -05:00
Nate Sesti
0017373633 🚀 green 2024-03-01 15:23:29 -05:00
Nate Sesti
f1c0fe7c8e 🐛 fix focus shortcut 2024-02-25 13:04:49 -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
fa3892da91 🐛 clean up hf inference provider 2024-02-21 16:50:26 -08:00
Nate Sesti
8366aef668 🐛 remove stop token from hf response 2024-02-21 16:49:10 -08:00
Nate Sesti
8087465c90 🐛 default system message for wizardcoder 2024-02-21 16:26:26 -08:00
Nate Sesti
175390f952 🐛 accept systemMessage for Gemini 2024-02-21 15:21:40 -08:00
Nate Sesti
3af5c6aeb5 🚚 set gemini-pro as default model for palm-api 2024-02-21 14:27:39 -08:00
Nate Sesti
dd3e1060f0 Merge branch 'main' into preview 2024-02-21 14:06:25 -08:00
RangerMauve
d71721d715
feat: Add num_treads to ollama along with docs (#863)
Co-authored-by: Mauve Signweaver <contact@mauve.moe>
2024-02-21 14:05:49 -08:00