Commit graph

5918 commits

Author SHA1 Message Date
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
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
Rob Leidle
4eb5eacfb2
Fix a build breakage on MacOS (#1955)
Without this change, the following error occurs on MacOS (but not linux):

  ../core/indexing/chunk/ChunkCodebaseIndex.ts:175:5 - error TS2322: Type 'unknown[]' is not assignable to type 'Chunk[]'.
    Type '{}' is missing the following properties from type 'Chunk': digest, filepath, index, content, and 2 more.

  175     return chunkLists.flat();
          ~~~~~~~~~~~~~~~~~~~~~~~~~

Co-authored-by: Rob Leidle <rleidle@tesla.com>
2024-08-07 07:02:31 -07:00
Nate Sesti
8b347aaa76 Merge branch 'dev' of https://github.com/continuedev/continue into dev 2024-08-06 23:12:03 -04:00
Nate Sesti
2898b08bd8 show title, not model in gui 2024-08-06 23:11:56 -04:00
Priyash
fed8ace39a
docs: add privacy section with more details on telemetry and development data (#1910) 2024-08-06 16:19:14 -07:00
Rob Leidle
8a278ff8b4
Enable async encoding for the GPTEncoder (#1946)
This will improve the performance of indexing when using a GPT model.
Also, improved the Async interface to also have an async decode method.

Note: I was only able to test this method with the test I added as I do
not have access to a GPT model.

Co-authored-by: Rob Leidle <rleidle@tesla.com>
2024-08-06 16:18:49 -07:00
Rob Leidle
88c72c3426
Change the LanceDBIndex to compute its new cache rows in parallel and then do a bulk insert (#1944)
This greatly improves the performance of indexing. Combined with the
change for bulk inserts in ChunkCodebaseIndexer, indexing is over twice
as fast. However, it can be much faster if the other indexers are
converted to use bulk insert as well.

In addition, this indexer is not using the computed chunks in the chunk
table. It would be faster to reference the already computed chunks,
however, for the purposes of this PR we are not changing that behavior.

Co-authored-by: Rob Leidle <rleidle@tesla.com>
2024-08-06 16:14:17 -07:00
Rob Leidle
dfbc6aabcb
Convert ChunkCodebaseIndexer's sqlite inserts into a single bulk insert to improve performance (#1943)
This change greatly improves the performance when inserting chunks.

Co-authored-by: Rob Leidle <rleidle@tesla.com>
2024-08-06 16:14:05 -07:00
Patrick Erichsen
a3cee9195e
chore: bump target and lib versions for tsconfig (#1949) 2024-08-06 16:09:38 -07:00
Patrick Erichsen
477ecd63ac
fix: ts ignore declaration file issue w/ dbinfoz (#1945) 2024-08-06 14:42:44 -07:00
Patrick Erichsen
fe05db541d
fix: handle closed webview on quick edit (#1942) 2024-08-06 13:59:15 -07:00
Patrick Erichsen
28085a0f89
Update prompt-files.md (#1940)
* Update prompt-files.md

* Update prompt-files.md
2024-08-06 12:22:01 -07:00
Patrick Erichsen
c0923a0dd7
fix: filepath replacements in prompt files (#1939)
* fix: filepath replacements in prompt files

* remove file extensions
2024-08-06 11:31:10 -07:00
Nate Sesti
7050d76828 small UI fixes 2024-08-05 23:47:01 -04:00
Nate Sesti
6c1c6024f4 fix refresh token interval 2024-08-05 21:26:33 -04:00
Nate Sesti
d56e6f50ec match against lowercase model name when validating autocomplete model 2024-08-05 19:42:55 -04:00
Julien GODFROY
fcf12712ff
Fix codestral name warning (#1914)
* Huge fix on Codestral familly model name to avoid warning.

Huge fix on Codestral familly model name to avoid warning.

* Update completionProvider.ts

typo
2024-08-05 16:42:10 -07:00
Priyash
5cb5df26c4
Step control icons and layout adjustment (#1909)
* fix: layout alignment, colors and update icons

* feat: add always show step controls on last step

---------

Co-authored-by: Nate Sesti <33237525+sestinj@users.noreply.github.com>
2024-08-05 16:41:02 -07:00
Nate Sesti
6fc8ccc6c5 Merge branch 'dev' of https://github.com/continuedev/continue into dev 2024-08-05 19:39:44 -04:00
Nate Sesti
99128e7310 don't return parser with undefined language 2024-08-05 19:39:38 -04:00
Rob Leidle
30db947c77
Change ChunkCodebaseIndex to add a tag for known chunks rather than rechunking the file (#1926)
Note that the prior logic referenced the wrong file contents so it was
likely impacting the accuracy of portions of the index that use the
chunks table.

Co-authored-by: Rob Leidle <rleidle@tesla.com>
2024-08-05 16:39:12 -07:00
Priyash
e93ce84cd5
feat: enable WAL (Write-Ahead Logging) for improved performance and stability (#1885)
Enable Write-Ahead Logging (WAL) mode for the SQLite database. This change is intended to enhance both the performance and stability of database operations, particularly when handling concurrent transactions and large volumes of data.
2024-08-05 16:38:23 -07:00
Rob Leidle
d9ca1c7c65
Make indexing functional in large workspaces by chunking segments of the workspace instead of workign on the entire workspace at once (#1876)
Co-authored-by: Rob Leidle <rleidle@tesla.com>
2024-08-05 16:31:38 -07:00
Nate Sesti
41360876c7 Merge branch 'joshvera-fix-minisearch-exception' into dev 2024-08-05 19:29:27 -04:00