Commit graph

56 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
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
Peter Zaback
6a5ad0e5d0
Fix chat msg formatting in Output for image models (#971) 2024-03-16 14:33:19 -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
d90e7dce92 🎨 formatting + fix viewType of undefined 2024-03-02 19:38:27 -05:00
Nate Sesti
6f25c18d23 🔊 update token counting to test 2024-02-11 21:16:02 -08:00
Nick Perez
cf43808caa
💄 use TS declaration for window object to remove some anys (#840) 2024-02-11 16:15:27 -08:00
Nate Sesti
aeec8c28d2 ✨ option to disable multi-line completions 2024-02-09 09:54:11 -08:00
Nate Sesti
21c3941fcb ✨ autodetect model names 2024-02-06 20:20:07 -08:00
Nate Sesti
dcd8314ef8 🔥 remove node-fetch types 2024-02-04 09:52:32 -08:00
Nate Sesti
238982fdca 🩹 update changelog, use node-fetch types 2024-02-03 16:45:46 -08:00
Nate Sesti
b42e7d64fb 🚧 only pass serialized config to the browser 2024-02-01 23:33:30 -08:00
Nate Sesti
dbab612c81 Merge branch 'preview' into nate/no-more-undici 2024-02-01 00:35:35 -08:00
Nate Sesti
00ce0255b1 🐛 chat template for codellama-70b 2024-01-31 14:38:52 -08:00
Nate Sesti
057111ceb9 ⚡️ don't generate session titles ever if parallel generation not supported 2024-01-30 18:53:50 -08:00
Nate Sesti
d080c8ed30 🚸 Show all prompts and completions in VS Code output panel 2024-01-30 15:02:05 -08:00
Nate Sesti
c22e82ad1d ✨ CodeLlama 70b support 2024-01-29 14:18:09 -08:00
Nate Sesti
1260cb2be4 ✨ image support in free trial 2024-01-25 13:50:41 -08:00
Nate Sesti
88e81221f0 merge nate/doc-crawl 2024-01-24 22:25:26 -08:00
Nate Sesti
a7a7bf3902 Merge branch 'preview' into nate/no-more-undici 2024-01-24 20:37:38 -08:00
Nate Sesti
e00742d352 merge 2024-01-24 20:36:21 -08:00
Nate Sesti
cbfb1314eb 🎨 setup proper types for image support 2024-01-19 17:59:37 -08:00
Nate Sesti
098fb35dfc ✨ add 'mirostat' to completionOptions 2024-01-19 12:21:41 -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
Nate Sesti
ae5137398b 🐛 fix chat feedback 2024-01-11 11:51:12 -08:00
Andrew Pawloski
ea22489ff7 Merge branch 'feature/add-phi2-support' of github.com:apawloski/continue into feature/add-phi2-support 2024-01-10 21:09:46 -05:00
Andrew Pawloski
e1c0ae0562 Establishes chat/edit templates for Phi-2 2024-01-10 21:07:10 -05:00
Nate Sesti
4b304ee7d8 🎨 use Ollama /chat and /show endpoints 2024-01-05 15:48:25 -08:00
Nate Sesti
9547a5a82e ✨ add xwin-coder prompt template 2024-01-05 11:23:13 -08:00
Nate Sesti
6f794f3a8e 🐛 allow providers to handle chat templating 2024-01-03 11:33:17 -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
3fa0960757 🐛 fix gemini, add openchat template 2023-12-27 14:40:03 -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
f29cc8f36a ✨ requestOptions for Node.js 2023-12-18 20:59:52 -05:00
Nate Sesti
258f6471c2 🐛 streaming fixes 2023-12-17 14:10:19 -05:00
Nate Sesti
0e8352cdae 🐛 correctly check for window being defined 2023-12-16 08:35:34 -08:00
Nate Sesti
7184d6148c 🎨 stream responses over VSC message passing 2023-12-16 08:32:57 -08:00
Nate Sesti
611521d21f 💄 small ui improvements 2023-12-15 20:22:13 -08:00
Nate Sesti
c310f5fb35 🚑 esbuild not found hotfix 2023-12-14 15:26:34 -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
aefcd11428 ✨ gemini and chat bison 2023-12-13 16:33:11 -08:00
Nate Sesti
d729cebd83 🐛 support Azure OpenAI and local OpenAI compliant APIs 2023-12-12 19:09:12 -08:00
Nate Sesti
1a83acc306 🚧 small details 2023-12-11 19:45:20 -08:00
Nate Sesti
ffd4e6f046 🚧 /edit working 2023-12-11 10:33:19 -08:00
Nate Sesti
9dff6f8859 🚧 load unserialized config 2023-12-09 14:40:40 -08:00