Commit graph

37 commits

Author SHA1 Message Date
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
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
0c75e4ccd2 🐛 don't send image_url if not image type 2024-03-18 09:57:32 -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
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
ebff85795f 💡 add note about Jan stop words 2024-03-14 18:29:02 -07:00
Nate Sesti
0c6f8d9605 🎨 use new URL everywhere instead of strings 2024-03-12 00:40:12 -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
e090f1f7d8 🐛 filter out trailing EOT token from Together 2024-03-06 14:29:14 -08:00
Nate Sesti
90e76bcd4c 🐛 truncate stop words only for Jan 2024-03-01 16:25:41 -05:00
Nate Sesti
fbce8c3080 🐛 small bug fixes 2024-02-13 09:48:45 -08:00
Nate Sesti
deab7c5132 🐛 use legacy completions endpoint for autocomplete with OpenAI-compatible providers 2024-02-08 11:00:14 -08:00
Nate Sesti
21c3941fcb ✨ autodetect model names 2024-02-06 20:20:07 -08:00
Nate Sesti
519233c560 🐛 tab-autocomplete with gpt-3.5-turbo 2024-02-01 14:12:39 -08:00
Nate Sesti
de8ccb0ac8 🩹 don't automatically append /v1 to apiBase 2024-01-31 15:03:26 -08:00
Nate Sesti
00ce0255b1 🐛 chat template for codellama-70b 2024-01-31 14:38:52 -08:00
Nate Sesti
8b9e99a8a1 🐛 fix lm studio bug when empty messages are sent 2024-01-28 14:47:45 -08:00
Nate Sesti
9bf59f0247 💄 UI for images in TipTap editor 2024-01-19 22:21:58 -08:00
Nate Sesti
cbfb1314eb 🎨 setup proper types for image support 2024-01-19 17:59:37 -08:00
Nate Sesti
f5627d1566 🐛 don't add /v1 for perplexity API 2024-01-11 16:32:53 -08:00
Nate Sesti
1b397e7600 ✨ deepinfra provider 2024-01-05 12:12:33 -08:00
Nate Sesti
50f971562e ✨ allow text-davinci-003 2024-01-04 11:32:42 -05:00
Nate Sesti
a2188645b9 🐛 only add /v1 to apiBase if not existent already 2023-12-28 19:41:38 -05:00
Nate Sesti
f044be3256 Merge branch 'preview' of https://github.com/continuedev/continue into preview 2023-12-25 22:18:45 -05:00
Alexandre Payot
1157a970a6
Improve API support for self hosted OpenAI-like models (#701)
* Support explicit disabling of templates

Allows a user to specify `"template": "none"` in config.json to disable the
chat templates and send the entire chat history as a List of message
rather than a single formatted message.

* OpenAI calls to complete go to v1/completions

This commit directs
- formatted messages to `v1/completions`
- JSON conversations to `v1/chat/completions`
2023-12-25 21:25:07 -05:00
Nate Sesti
b9b6cd83b1 🎨 use common streamSse for LLMs 2023-12-16 07:56:07 -08:00
Nate Sesti
4de45f7956 🎨 use common streamResponse method for LLMs 2023-12-16 07:28:20 -08:00
Nate Sesti
611521d21f 💄 small ui improvements 2023-12-15 20:22:13 -08:00
Nate Sesti
e1ed7ed0a2 ✨ config.ts 2023-12-14 12:47:01 -08:00
Nate Sesti
35d7e199af ✨ set custom headers 2023-12-13 21:20:54 -08:00
Nate Sesti
d729cebd83 🐛 support Azure OpenAI and local OpenAI compliant APIs 2023-12-12 19:09:12 -08:00
Nate Sesti
7c045bfe2d 🚧 minisearch as alternative to meilisearch 2023-12-10 23:29:49 -08:00
Nate Sesti
8fce34f156 🚧 context providers 2023-12-08 15:01:13 -08:00
Nate Sesti
8ad5cb8c9f 🚧 write rest of LLM classes 2023-12-08 00:18:23 -08:00