Commit graph

120 commits

Author SHA1 Message Date
Nate Sesti
1b49dfb807 🔥 remove console logs 2024-05-17 21:42:53 -07:00
Tijs Zwinkels
b8221eb199
Log prompt-tokens to devdb and show in 'My Usage' view (#1309)
* Also log the number of prompt tokens to the dev-db

* Show prompt tokens in 'My Usage' view
2024-05-17 21:41:51 -07:00
Nate Sesti
b670949c13 ⚡️ context pruning 2024-05-16 20:11:39 -07:00
Nate Sesti
0eed7a0ed0 🩹 various small improvements 2024-05-15 11:25:48 -07:00
Nate Sesti
17a08b4060 ⚡️ improve add docstring command 2024-05-14 16:15:33 -07:00
Nate Sesti
7d5dc4958a 🎨 pass ideSettings to llmFromDescription 2024-05-13 21:14:00 -07:00
Nate Sesti
778cecac29 🎨 require -> import 2024-05-12 15:28:36 -07:00
Nate Sesti
89a69576bc 🎨 eslint enforce import extensions 2024-05-12 15:18:23 -07:00
Nate Sesti
19682cdebe 🐛 add powershell to extension mapping, and default to ext 2024-05-11 12:19:09 -07:00
Nate Sesti
07b3abaa20 ⚡️ find recently edited ranges with perfect prefix match 2024-05-06 21:18:00 -07:00
Nate Sesti
e05cac9922 ⚡️ improve LSP usage in autocomplete 2024-05-05 20:23:10 -07:00
Nate Sesti
3c954dd8ce
Active file default context (#1231)
* 🚸 include currently active file by default

* 🚸 warn if non-autocomplete model being used

* ✨ try hole filling template for gpt

* 💄 ui for no context

* ⚡️ leave out bottom of excessively large files
2024-05-03 22:12:20 -07:00
Nate Sesti
98f6145caa
Nate/autocomplete-metrics (#1230)
* ⚡️ use context.selectedCompletionInfo, deduplicate logs

* ⚡️ don't reject if user keeps typing same as completion

* ⚡️ vscode autocomplete edge cases

* 🚧 WIP on vscode autocomplete

* ⚡️ better bracket handlng

* ⚡️ improved multi-line detection
2024-05-03 21:32:53 -07:00
Nate Sesti
ed6fce5d56 ✨ URLContextProvider 2024-04-29 10:48:41 -07:00
Nate Sesti
a7236e3320 🐛 add skipLines 2024-04-29 00:09:47 -07:00
Nejc Habjan
f616ae68bb
Respect Retry-After header when available from 429 responses (#1182)
* 🩹 remove dead code for exponential backoff

This has been replaced by the withExponentialBackoff helper

* 🩹 respect Retry-After header when available
2024-04-24 15:53:18 -07:00
Nate Sesti
70952ebf81
✨ global request options (#1153)
* ✨ global request options

* 🐛 fix jira context provider by injecting fetch

* ✨ request options for embeddings providers
2024-04-23 22:10:21 -07:00
Nate Sesti
49cb06df70
✨ Improved onboarding experience (#1155)
* 🚸 onboarding improvements

* 🧑‍💻 keyboard shortcuts to toggle autocomplete and open config.json

* ⚡️ improve detection of terminal code blocks

* 🚧 onboarding improvements

* 🚧 more onboarding improvements

* 💄 last session button

* 🚸 show more fallback options in dropdown

* 💄 add sectioning to models page

* 💄 clean up delete model button

* 💄 make tooltip look nicer

* 🚸 download Ollama button

* 💄 local LLM onboarding

* 🐛 select correct terminal on "runCommand" message

* 💄 polish onboarding
2024-04-19 17:55:16 -07:00
Nate Sesti
390f439005 ✨ disableInFiles option for autocomplete 2024-04-19 12:32:44 -07:00
Nate Sesti
5b48bdfc7a 🩹 correctly contruct set of certs 2024-04-16 14:52:00 -07:00
Nate Sesti
92be663257 🐛 use system certificates in binary 2024-04-16 02:23:21 -07:00
Nate Sesti
25d5b042ab Merge branch 'solidity-language-ts' of https://github.com/trail-of-forks/continue into trail-of-forks-solidity-language-ts 2024-04-14 17:20:05 -07:00
Nate Sesti
9a73644ce0 ✨ Gemini 1.5 and GPT-4 Turbo 2024-04-12 17:15:09 -07:00
Nate Sesti
083bcc2d12 🐛 small fixes to reranking 2024-04-10 17:00:01 -07:00
Nate Sesti
c1af6912b1 ✨ new onboarding experience 2024-04-10 01:43:59 -07:00
Nate Sesti
e893049fcc
✨ customizable rerankers (#1088)
* ✨ customizable rerankers

* 💄 fix early truncation button

* ⚡️ improvements to full text search + reranking

* ⚡️ only use starcoder2 stop words for starcoder2

* ⚡️ crawl code graph for call expressions

* 🚧 starcoder2-7b free trial

* 🚧 free trial client for embeddings and re-ranking

* 🚧 embeddings provider

* ✅ test for presence of files in CI

* 🐛 fixes to reranking
2024-04-09 22:59:42 -07:00
Riccardo Schirone
09455b6f13 Make use of solidity tree-sitter parser 2024-04-08 07:57:40 +02:00
Nate Sesti
707590e414 🩹 error handling in JetBrains 2024-04-06 12:59:00 -07:00
Tobias Jung
f9a1a78575
Add abstraction for fetch to easily allow using request options (#1059)
* add fetch helper function with request options

* add support for request options for Jira context provider
2024-04-04 12:19:58 -07:00
Nate Sesti
0a3a403217 🔊 log extension version 2024-04-02 16:23:50 -07:00
Nate Sesti
df71ad724e ✨ Dropdown to select model 2024-04-01 15:27:51 -07:00
Nate Sesti
90e9933c97 🎨 add getRepoName to IDE, use for indexing 2024-03-27 20:32:52 -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
Nate Sesti
3e9ca173f6 🩹 disable .yaml tree-sitter 2024-03-20 21:57:02 -07:00
Nate Sesti
c3e4372076 Merge branch 'main' into preview 2024-03-19 10:33:03 -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
SR_team
fbca1f8912
Add more C++ extensions for AST parser (#972) 2024-03-17 15:49:52 -07:00
Nate Sesti
c5d687ff19 Merge branch 'feat/exponential_backoff' of https://github.com/Iamshankhadeep/continue into Iamshankhadeep-feat/exponential_backoff 2024-03-17 14:32:15 -07:00
commandblock2
76cc80c12c Merge remote-tracking branch 'upstream/preview' into debug-context-provider 2024-03-17 21:55:20 +08:00
Nate Sesti
099eac3a2b Merge branch 'preview' into nate/jetbrains-autocomplete 2024-03-15 12:25:28 -07:00
Shankhadeep Dey
ad8991eac0 feat: withExponentialBackoff utility function 2024-03-15 22:52:24 +05:30
Nate Sesti
ca31ff43f9 🐛 successfully get responses for jetbrains autocomplete 2024-03-14 11:53:26 -07:00
Nate Sesti
805e002fc7 🎨 decouple autocomplete from VS Code extension 2024-03-12 19:40:57 -07:00
commandblock2
f115193940 Merge remote-tracking branch 'upstream/preview' into debug-context-provider 2024-03-12 22:53:40 +08:00
commandblock2
dacd9fb291 refactor: changed the interface of threads 2024-03-11 23:01:03 +08:00
Nate Sesti
f6633fd157 🎨 more minimal tree-sitter queries for code ctx provider 2024-03-09 20:15:44 -08:00
Nate Sesti
283c7ebcad 🚸 add titles to code context provider 2024-03-09 16:24:52 -08:00
Nate Sesti
4bb20cd557 Merge branch 'preview' into nate/code-context-provider 2024-03-09 13:54:28 -08:00
Nate Sesti
fa8d6fc36a 🚧 full draft of code context provider 2024-03-09 13:54:19 -08:00