Commit graph

124 commits

Author SHA1 Message Date
Simon
0c77746a91
Query 🤗TGI /info endpoint to get model name and context window (#755)
* query TGI /info endpoint for model name and context length

* remove commented-out line

* add parseInt

---------

Co-authored-by: Simon Müller <simon.mueller@xitaso.com>
2024-01-16 09:05:51 -08:00
matbee.eth
982c0cd156
Fix logic error in streamed JSON object parsing (#752)
buffer becomes any character after `\n`, as anything before `\n` should be considered a valid JSON object
2024-01-15 12:46:29 -08:00
Zsapi
d2b928deb2
Update LlamaCpp.ts (#731)
Use the apiKey from the config for LlamaCpp requests
2024-01-08 15:40:19 -08:00
Nate Sesti
e0bd1fe89d ✨ render mustache template in system message 2024-01-08 11:39:42 -08:00
Nate Sesti
97e54cf8e4 ✨ option to recap /edit changes 2024-01-08 09:19:17 -08:00
Nate Sesti
7383666ed9 ✨ disableSessionTitles option 2024-01-07 09:06:45 -08:00
Nate Sesti
4b304ee7d8 🎨 use Ollama /chat and /show endpoints 2024-01-05 15:48:25 -08:00
Nate Sesti
7c5ce714e9 🐛 fix intellij timeout and theme issues 2024-01-05 13:44:02 -08:00
restlessronin
f0ed95d693
clarify the meaning of highlight (#718)
* clarify the meaning of highlight

* delete duplicated text
2024-01-05 12:25:48 -08:00
Nate Sesti
1b397e7600 ✨ deepinfra provider 2024-01-05 12:12:33 -08:00
Nate Sesti
9547a5a82e ✨ add xwin-coder prompt template 2024-01-05 11:23:13 -08:00
Nate Sesti
9174647d68 🐛 add mixtral to models list 2024-01-04 20:13:34 -05:00
Nate Sesti
9b8866e771 🎨 small cleanup for streaming 2024-01-04 20:08:58 -05:00
Nate Sesti
50f971562e ✨ allow text-davinci-003 2024-01-04 11:32:42 -05:00
Nate Sesti
6f794f3a8e 🐛 allow providers to handle chat templating 2024-01-03 11:33:17 -05:00
Nate Sesti
bb94da0cb9 ✨ search context provider 2024-01-03 01:30:17 -05:00
Nate Sesti
a55327670b 🔥 clean up default config options 2024-01-02 23:51:01 -05:00
Nate Sesti
446942d09e 🐛 various fixes for slash commands and context providers 2024-01-02 16:24:09 -05:00
Nate Sesti
45e2b50b0a ⚡️ many adjustments to OS model output to clean it up 2024-01-02 12:48:08 -05:00
Nate Sesti
cbd2583901 ✨ allow setting promptTemplates in config.json 2024-01-02 11:07:46 -05:00
Nate Sesti
03350455e3 🐛 fix insertion at end of file bug 2024-01-01 16:00:35 -05:00
Nate Sesti
8a1900f91a Merge branch 'preview' into nate/vertical-diff 2024-01-01 15:07:00 -05:00
Nate Sesti
7250d85b73 ⚡️ always insert deleted lines above inserted 2024-01-01 12:15:37 -05:00
Nate Sesti
ad840c2e63 ⚡️ make sure all green is below red 2023-12-31 12:56:38 -05:00
Nate Sesti
079ddd0bba ⚡️ buffer insertions to avoid greedy alternating of red / green in diff 2023-12-31 12:23:26 -05:00
Nate Sesti
107e511b82 ⚡️ new line matching heuristic 2023-12-31 12:04:51 -05:00
Nate Sesti
09ef952948 🧪 add new test for diff 2023-12-30 17:43:22 -05:00
Nate Sesti
824e111efb 💄 more vertical diff improvements 2023-12-30 17:37:25 -05:00
Nate Sesti
a1c5513f60 💄 more small diff ui updates 2023-12-30 13:10:35 -05:00
Nate Sesti
4d4212f304 💄 small diff streaming updates 2023-12-30 13:00:06 -05:00
Nate Sesti
078f078de9 🐛 fix diff highlighting 2023-12-30 12:39:38 -05:00
Nate Sesti
d7c2c53263 🐛 test and fix streamDiff 2023-12-30 11:09:43 -05:00
Nate Sesti
ce4d3ba8f1 🚧 WIP on vertical diff 2023-12-30 10:14:09 -05:00
Nate Sesti
4c4b15cb51 🚧 fully hooked up vertical diff 2023-12-30 00:46:32 -05:00
Nate Sesti
b1f6397d4c 🚧 more elegant diff algorithm 2023-12-29 20:49:38 -05:00
Nate Sesti
271dbce25f 🔥 remove modelRoles from config schema 2023-12-28 22:19:05 -05:00
Nate Sesti
a2188645b9 🐛 only add /v1 to apiBase if not existent already 2023-12-28 19:41:38 -05:00
Nate Sesti
52cc97cd63 ✨ minP sampling option for llama.cpp 2023-12-27 22:12:55 -05:00
Nate Sesti
8ccb8fb74e 🐛 make paths in rust tests relative 2023-12-27 22:04:58 -05:00
Nate Sesti
8d2e8414e6 ✨ slash commands that run in NodeJs side 2023-12-27 19:30:34 -05:00
Nate Sesti
99df92342a ✨ (untested) Bedrock support 2023-12-27 15:24:45 -05:00
Nate Sesti
3fa0960757 🐛 fix gemini, add openchat template 2023-12-27 14:40:03 -05:00
Nate Sesti
2cdad295d2 Merge branch 'main' into preview 2023-12-27 14:01:37 -05:00
Nate Sesti
0232de4ae5 🐛 create sessions.json 2023-12-27 10:03:39 -05:00
Nate Sesti
211d432f74 Merge branch 'nate/inline-ctx-providers' into preview 2023-12-25 23:53:56 -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
dd017a5f4c 🐛 fix out of order streaming 2023-12-25 20:40:01 -05:00
Nate Sesti
63d39667f2 💄 small updates to ctx providers 2023-12-25 18:20:47 -05:00
Nate Sesti
acc2d4fcc2 ✨ files submenu 2023-12-24 17:00:51 -05:00