Commit graph

5944 commits

Author SHA1 Message Date
Nate Sesti
449166b49e stop triggering jetbrains 2024-08-11 18:21:23 -07:00
Nate Sesti
2f26519c7f fix ci 2024-08-11 18:19:17 -07:00
Nate Sesti
59f88af73c
Merge pull request #1987 from continuedev/nate/merge-main
v0.9.196-vscode
2024-08-11 01:04:54 -07:00
Nate Sesti
3d755471fa Merge branch 'main' into nate/merge-main 2024-08-11 01:04:20 -07:00
Nate Sesti
252ae9ca56 update CI, changelog 2024-08-11 01:03:08 -07:00
Nate Sesti
6f5232cd39 update changelog and package.json version 2024-08-11 01:03:00 -07:00
Nate Sesti
5b2a64f6a1 new tests for ConfigHandler 2024-08-11 00:21:08 -04:00
Nate Sesti
051b5a6795 remove hardcoding of MAX_CHUNK_SIZE 2024-08-10 23:32:21 -04:00
Nate Sesti
e090fb3b31 very, very basic context provider tests 2024-08-10 23:27:15 -04:00
Nate Sesti
4666a6a76c turn on strict in gui and fix a few type warnings 2024-08-10 23:11:06 -04:00
Nate Sesti
f06dfae864 branch tests for planning layer 2024-08-10 22:40:50 -04:00
Nate Sesti
ca3ea257e6 update ci 2024-08-10 17:14:46 -04:00
Nate Sesti
a6ba8f0588 Run core tests after prepackage 2024-08-09 23:18:07 -04:00
Nate Sesti
3ba8ef7fcb fix chunk test for windows 2024-08-09 23:08:01 -04:00
Nate Sesti
69f13e65b8 skip test temporarily 2024-08-09 23:00:45 -04:00
Nate Sesti
4beb81eda0 update CI to run on tag creation 2024-08-09 22:56:29 -04:00
Nate Sesti
1e5a7b088f update ci 2024-08-09 22:45:24 -04:00
Nate Sesti
300e7f18ae Merge branch 'dev' of https://github.com/continuedev/continue into dev 2024-08-09 22:44:11 -04:00
Nate Sesti
fece48db8c create pre-release on tag event 2024-08-09 22:44:07 -04:00
Nate Sesti
f9163a0f49
Merge pull request #1985 from teslamotors/user/rleidle/set-batch-size
Change the indexing batch size to a static value of 100
2024-08-09 19:41:34 -07:00
Rob Leidle
2272aa121a Change the indexing batch size to a static value of 100
This appears to have a positive impact on indexing throughput on my M1 mac
2024-08-09 16:46:52 -07:00
Nate Sesti
d8de6da30a
Merge pull request #1981 from teslamotors/user/rleidle/add-filter-for-large-files-and-no-extension
Turn of chunking for files with more than 1m characters and files lacking extensions
2024-08-09 15:29:29 -07:00
Patrick Erichsen
c9beb8da03
docs: add nvidia to OS models (#1983) 2024-08-09 14:41:44 -07:00
Patrick Erichsen
d832dbc829
docs: add nvidia to model providers (#1982) 2024-08-09 14:35:39 -07:00
Rob Leidle
d9efc11193 Turn of chunking for files with more than 1m characters and files lacking extensions
This should help with some of the unnecessary work being done in indexing
2024-08-09 13:41:15 -07:00
Nate Sesti
badcc95de9 update changelog 2024-08-09 15:56:20 -04:00
Nate Sesti
7582aa8240
Indexing tests (#1979)
* fix missing insertion into lancedb index

* successfully running codebaseindex test

* await

* fix typo

* clean up indexing tests

* expectPlan
2024-08-09 12:54:53 -07:00
Patrick Erichsen
d2cfce9e64
update onboard (#1980) 2024-08-09 12:18:03 -07:00
Patrick Erichsen
5819ffb439
feat: add "onboarding" slash command (#1961)
* feat: add "onboarding" slash command

* bump tsconfig versions

* improve prompt
2024-08-09 09:40:32 -07:00
Vijai Sivakumar
0b528a26ce
refactor(continue): add selected context in slash command (#1919)
Signed-off-by: Vijai Sivakumar <vijai.sivakumar@solitontech.com>
2024-08-09 09:40:04 -07:00
Adam Shedivy
eabcdd16dd
Fix watsonx stop tokens (#1959)
* add stop token param for watsonx provider

* add stop token to config_schema

* add stop token param for watsonx provider

* add stop token to config_schema

* update model id for granite code, remove system message

* update code instruct model id in config schemas

* add stop token param for watsonx provider

* add stop token to config_schema

* update model id for granite code, remove system message

* update code instruct model id in config schemas

* use lowercase x

* remove rpg test file
2024-08-09 09:38:36 -07:00
yytdfc
042f308b44
fix a bug of undisired stream output (#1966) 2024-08-09 09:36:27 -07:00
Patrick Erichsen
1272f3402a
fix: ignore CSV files (#1972)
* fix: ignore CSV files

* Update CONTRIBUTING.md

* Update tsconfig.json
2024-08-09 09:35:41 -07:00
Rob Leidle
c51260c8c8
Remove the PRAGMA setting of journal_mode which attempted to revert to the default journal_mode (#1976)
The intention of the PRAGMA was to revert the databse back from WAL, however, this pragma is creating problems when multiple instances of continue are open

Co-authored-by: Rob Leidle <rleidle@tesla.com>
2024-08-09 09:26:28 -07:00
Patrick Erichsen
1e3e8ebe40
fix: transpile dynamic imports to cjs (#1975) 2024-08-09 09:09:01 -07:00
Patrick Erichsen
28a2042b7f
feat: items used text (#1973)
* bump tsconfig

* feat: count items used dropdown

* context items used
2024-08-09 08:52:35 -07:00
Rob Leidle
fad684cb78
Change indexing to operate on batches as returned by getComputeDeleteAddRemove to fix problems (#1971)
The prior approach, of batching on lists of files as returned by
walkDir(...) broke the assumptions made by
getComputeDeleteAddRemove(...). Instead, call
getComputeDeleteAddRemove() and then batch on its results. This
approach uses a bit more memory but is roughly just as fast.

In addition, made markComplete(...)'s signature return Promise<void> as
it is an async function. Awaiting this async function has made
everything "slow" again because we do not do bulk inserts for
markComplete database rows. However, that can be fixed in a subsequent
commit.

Also disabled WAL mode for SQLite as we do not completely control the
program lifecycle so was noticing a lot of times where indexing resutls
were not checkpointed to disk.

Co-authored-by: Rob Leidle <rleidle@tesla.com>
2024-08-08 15:34:55 -07:00
Nate Sesti
faef4a6ed1 use console.debug 2024-08-08 16:20:52 -04:00
Nate Sesti
85b3d211a6 update intellij build for new workers 2024-08-08 10:46:42 -04:00
Nate Sesti
5d5d4eb73d fix image pasting 2024-08-07 22:13:26 -04:00
Nate Sesti
df9ccba8bf Merge branch 'dev' of https://github.com/continuedev/continue into dev 2024-08-07 22:02:28 -04:00
Nate Sesti
a73b802ca4 adjust padding 2024-08-07 22:02:25 -04:00
Rob Leidle
41917ad52b
Fix a merge mistake that results in a full reindex on file save (#1960)
In https://github.com/continuedev/continue/pull/1873, the file save
handler was changed to only reindex the single saved file. However, in
the merge commit d0f3209dff the change was
partially reverted and now the entire index is being refreshed on single
file save.

Co-authored-by: Rob Leidle <rleidle@tesla.com>
2024-08-07 11:05:03 -07:00
Nate Sesti
c9dfc63b9a remove docs params from config_schema 2024-08-07 13:36:13 -04:00
Nate Sesti
e2a4a2cf09 Merge branch 'preview' into dev 2024-08-07 10:37:45 -04:00
Nate Sesti
f77eb6f763 update version 2024-08-07 10:34:20 -04:00
Nate Sesti
8b401423bb release branch from preview ci 2024-08-07 10:28:38 -04:00
Nate Sesti
94a4200327 update package-locks 2024-08-07 10:06:14 -04:00
yytdfc
ab971ec6b8
add sagemaker provider (#1917)
Co-authored-by: Patrick Erichsen <patrick.a.erichsen@gmail.com>
2024-08-07 07:05:37 -07:00
digitalneedstech
e43a250408
Changes in bedrock file to filter out system messages in converse api (#1951)
Co-authored-by: Piyush Bhatia <Piyush_Bhatia@epam.com>
2024-08-07 07:03:19 -07:00