Commit graph

123 commits

Author SHA1 Message Date
Justin Milner
6803dc5533
CON-232 bring custom docs to top, alphabetize doc results, make scrol… (#1239)
* CON-232 bring custom docs to top, alphabetize doc results, make scrollable

* CON-232 cleanup

---------

Co-authored-by: Justin Milner <jmilner@jmilner-lt2.deka.local>
2024-05-05 23:41:40 -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
Jose Vega
5210cbf62c
Update DocsContextProvider.ts (#1217)
I fixed a bug where you were sending the query variable (which holds the base URL of the doc) to the rerank method, and it made no sense to rerank the chunks based on a URL. So I changed it to extras.fullInput because it should rerank based on the user input, which should provide better results.
2024-05-03 11:42:12 -07:00
Nate Sesti
2be3fb12e8 ⚡️ use reranker for docs context provider 2024-04-29 15:42:43 -07:00
Nate Sesti
ed6fce5d56 ✨ URLContextProvider 2024-04-29 10:48:41 -07:00
Nate Sesti
ac0917024c 🎨 use node-fetch everywhere 2024-04-25 19:27:40 -07:00
Maxime Brunet
11ad69fd18
✨ add Cohere as Reranker (#1159) 2024-04-23 22:44:22 -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
Bertrand P
638f192259
feat(httpContextProvider): load AC on fetch client (#1150)
Co-authored-by: Bertrand Pinel <bertrand.pinel@pole-emploi.fr>
2024-04-19 13:36:39 -07:00
Nate Sesti
633d3af9be 🔥 temporarily remove problematic expandSnippet import 2024-04-15 14:09:33 -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
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
100a344b2a 🔥 remove URLContextProvider 2024-03-29 00:08:17 -07:00
Jason Jacobs
60d2cb4450
Add SystemContextProvider to context providers so that users can use … (#988)
* Add SystemContextProvider to context providers so that users can use their own system cpu and os for a resource

* change to OSContextProvider

* update descriptor
2024-03-18 21:26:11 -07:00
Nate Sesti
9648cda1af Merge branch 'feat/add-gitlab-mr-context-provider' of https://github.com/theBenForce/continue into theBenForce-feat/add-gitlab-mr-context-provider 2024-03-17 14:45:48 -07:00
Ben Force
471ca9eae5 feat: enable comment filtering 2024-03-15 12:43:33 -05:00
Ben Force
e3653f98f0 feat: add code that comment is based on 2024-03-15 07:07:26 -05:00
Ben Force
ae888d9e81 fix: add context provider 2024-03-15 05:54:37 -05:00
Ben Force
0ace169935 feat: update to work as normal context provider 2024-03-15 05:54:37 -05:00
Ben Force
efc1f3b921 feat: add gitlab context class 2024-03-15 05:54:37 -05:00
commandblock2
f115193940 Merge remote-tracking branch 'upstream/preview' into debug-context-provider 2024-03-12 22:53:40 +08:00
commandblock2
6a8f828a47 polished format and file reading 2024-03-12 22:21:55 +08:00
commandblock2
dacd9fb291 refactor: changed the interface of threads 2024-03-11 23:01:03 +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
commandblock2
d0e735853d Merge remote-tracking branch 'upstream/preview' into debug-context-provider 2024-03-10 00:14:25 +08:00
Nate Sesti
991bbc4617 Merge branch 'preview' of https://github.com/continuedev/continue into preview 2024-03-09 00:29:32 -08:00
Nate Sesti
402ed819a7 ✨ small docs improvements 2024-03-08 23:14:43 -08:00
Nate Sesti
2a17ac0461 🚧 update docs indexing 2024-03-08 22:54:41 -08: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
Benedict Lee
469cb496ff
Add PAT authentication support in JIRA Provider (#947) 2024-03-08 22:38:56 -08:00
Nate Sesti
4d759d0780 🎨 improvements to docs download 2024-03-07 23:06:04 -08:00
Nate Sesti
96cf27b99f Merge branch 'feat/898-jira-rest-api-v2' of https://github.com/theBenForce/continue into theBenForce-feat/898-jira-rest-api-v2 2024-03-07 12:51:20 -08:00
Ben Force
ecbc1234f7 fix: update adf2md package 2024-03-04 14:23:13 -06:00
commandblock2
950801b302 Merge remote-tracking branch 'upstream/preview' into debug-context-provider 2024-03-04 15:54:18 +08:00
commandblock2
20d4c19e3c Merge remote-tracking branch 'upstream/preview' into debug-context-provider 2024-03-03 12:09:25 +08:00
Nate Sesti
2eb647656b 🎨 format all files with .prettierrc 2024-03-02 20:02:33 -05:00
commandblock2
5ec1fa07b5 added thread filtering and handle a edge case 2024-03-03 01:59:21 +08:00
Nate Sesti
3c1853bd98 🐛 fix codebase bug returning no results 2024-03-01 19:25:31 -05:00
Ben Force
cc9b96038b fix(Jira Context): add api abstraction 2024-03-01 15:35:38 -06:00
Nate Sesti
90e76bcd4c 🐛 truncate stop words only for Jan 2024-03-01 16:25:41 -05:00
commandblock2
8f753846b1 use parameter for callstack retrieving 2024-03-01 22:29:18 +08:00
commandblock2
a1660bc1dd added code context from the call stack 2024-03-01 12:33:43 +08:00
Nate Sesti
21c92103b3 ✅ checkpoint with web-tree-sitter working 2024-02-29 09:45:35 -05:00
Nate Sesti
062e99eb06 Merge branch 'database_provider' of https://github.com/rootedbox/continue into rootedbox-database_provider 2024-02-26 11:25:14 -05:00
Nate Sesti
1b6f199143 Merge branch 'pg-context-provider' of https://github.com/NinjaPerson24119/continue into NinjaPerson24119-pg-context-provider 2024-02-26 01:34:28 -05:00
commandblock2
046138389c Merge remote-tracking branch 'upstream/preview' into debug-context-provider 2024-02-24 17:28:38 +08:00
commandblock2
9bb6b58862 normal to submenu(select thread) for the locals provider 2024-02-24 17:26:46 +08:00
Nate Sesti
7d80820d73 Merge branch 'nate/merge-preview-to-atwood-p2' into preview 2024-02-23 21:08:08 -05:00
Nate Sesti
8223ba25a8 ✨ update adf2md library 2024-02-21 15:08:52 -08:00