Commit graph

122 commits

Author SHA1 Message Date
Nate
651f942e92 throttle JSDOM parsing 2024-11-15 12:22:38 -08:00
Nate
dc2801ed2a add llama-stack to pre-indexed documentation list 2024-11-12 10:54:59 -08:00
Test
b5cab4609b chore: apply eslint to vscode and core 2024-11-11 07:38:52 -08:00
Nate
8d7dc57ca9 fix pre-indexed docs URLs 2024-11-05 18:43:38 -08:00
Nate
46e9c21417 handle case of undefined favicon 2024-11-05 18:41:03 -08:00
Dallin Romney
3aa019eac3 remove cache 2024-11-03 17:13:17 -08:00
Nate
e49ba57dd8 fallback to other crawler if default only gets one result 2024-11-02 21:59:02 -07:00
Nate
45c36eb5b9 fall back if default crawler fails 2024-11-02 00:17:41 -07:00
Nate
2965c4c657 DefaultCrawler 2024-10-31 23:07:22 -07:00
Nate
725352d432 move crawlers to their own files 2024-10-31 21:57:28 -07:00
Nate
adf09fb5e3 Merge branch 'main' into dev 2024-10-23 17:04:19 -07:00
Rene Brandel
3bb7b7882f
Adding support for AWS docs for preindexing 2024-10-21 21:14:55 -04:00
tomasz-io
429e54ed34 feat: config.json validation 2024-10-15 22:11:35 +07:00
minicx
d613b5a7da fix(DocsCrawler): Add response.ok check and improve link splitting
- Added skip for 404 errors in the page parsing logic
- Resolved incorrect handling of relative URLs in link splitting
2024-10-10 05:34:25 +03:00
Test
5d3b2cb507 fix: sanitize lance table names 2024-10-03 13:41:36 -07:00
Nate
5b04828bbf Merge branch 'dev' of https://github.com/continuedev/continue into dev 2024-09-25 00:11:54 -07:00
Test
6ecbd23a01 gui: improve input breakpoints and context peek 2024-09-24 15:59:03 -07:00
Nate
72e5216633 extract EXTENSION_NAME 2024-09-24 14:49:49 -07:00
Test
d055e2bc92 file read error handling 2024-09-20 10:35:20 -07:00
Nate
a795d70806 get a count of total pages crawled 2024-09-16 09:33:28 -07:00
Test
153c085d92 test: update DocsCrawler tests 2024-09-09 10:36:45 -07:00
Nate Sesti
c6175171f6
Merge pull request #2184 from rootedbox/sql_time_out
Set SQLite busy_timeout to prevent lock contention issues
2024-09-06 14:17:42 -07:00
Nate
eafc38dd5a don't use pre-installed chromium without toast 2024-09-05 13:03:35 -07:00
Test
69bf31b278 Update DocsCrawler.ts 2024-09-05 12:25:37 -07:00
Test
b3eaef010c disable tests 2024-09-05 12:17:33 -07:00
Test
8b9153012a add docs 2024-09-05 12:04:36 -07:00
Test
ba777edf47 feat: consolidate toast logic into "showToast" 2024-09-04 15:47:13 -07:00
Test
a312b6debe execs must be awaited 2024-09-04 14:48:37 -07:00
Test
8b57d298dd Set SQLite busy_timeout to prevent lock contention issues 2024-09-04 14:08:38 -07:00
Test
d331b5c191 move config into globalcontext 2024-09-02 17:49:03 -07:00
Test
fd7bbce79b feat: fall back to Cheerio for headless crawling 2024-09-02 17:14:32 -07:00
Nate
a9bf85c890 slightly unflakify tests 2024-09-01 15:25:28 -07:00
Test
24f9960e27 feat: Add prompt caching support 2024-08-24 10:52:12 -07:00
Test
625fdb0157 Merge branch 'dev' into pe/docs-sitemap 2024-08-22 19:40:05 -07:00
Test
e5b3e283e8 cleanup 2024-08-22 19:18:31 -07:00
Test
56c7fbbcc1 tsc fix 2024-08-22 19:13:40 -07:00
Test
4edae01a90 finish docscrawler 2024-08-22 18:53:04 -07:00
Test
b9b58e23fc use async generator 2024-08-22 17:14:06 -07:00
Patrick Erichsen
e8f1e3ac2c add PCR 2024-08-22 10:24:11 -07:00
Patrick Erichsen
23fffea2cc copy libs into out 2024-08-21 14:06:11 -07:00
Nate Sesti
fa33df2b2a add astro.build to crawl tests 2024-08-20 18:02:01 -07:00
Patrick Erichsen
a51c520dee feat: use crawlee for docs service 2024-08-20 17:26:30 -07:00
Priyash Patil
acea620043 fix(core): delete indexed docs if re-indexing 2024-08-20 18:57:44 +05:30
Nate Sesti
a841e55b44 remove unnecessary telemetry 2024-08-19 13:10:45 -07:00
Patrick Erichsen
c818e2d44b remove unneeded eslint ignores 2024-08-16 10:42:12 -07:00
Patrick Erichsen
5406d0e1a2 test: colocate tests in core 2024-08-16 10:35:40 -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
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
e2a4a2cf09 Merge branch 'preview' into dev 2024-08-07 10:37:45 -04: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