Commit graph

138 commits

Author SHA1 Message Date
Nate
244e47b943 fix: small tweak in debug info message 2025-09-12 14:49:34 -07:00
Josh Holmer
34f6607ab9
feat: improvements to docs indexing status visibility 2025-08-20 02:03:09 -04:00
Patrick Erichsen
4eeb34940f
chore: remove docs cache (#7108)
* chore: remove docs cache

* Update DocsService.ts
2025-08-15 14:03:32 -07:00
Dallin Romney
c41be7ee41
Merge pull request #6131 from shssoichiro/refresh-codebase-index
fix: refresh codebase index on config change
2025-07-16 20:50:55 +02:00
nathants
22a9fb2cb1
fix: sqlite migrations should ran after the table is created 2025-07-14 10:28:24 -10:00
Josh Holmer
634aafb08f
refactor: reorganize equality checks to avoid unnecessary params 2025-07-14 10:26:31 -04:00
Josh Holmer
ce29471458
refactor: add helper function to clarify intention 2025-07-14 10:17:59 -04:00
Josh Holmer
deb9faacee
fix: refresh codebase index on config change 2025-07-14 10:17:56 -04:00
Jazzcort
1d06c3b756 Fix: improved Documentation Indexing and Submenu Updates
This patch significantly enhances how Continue responds to changes in the
documentation configuration, providing a more consistent and user-friendly
experience.

Previously, Continue's handling of documentation configuration changes
could lead to inconsistencies, requiring users to relaunch the application
to see updates. This PR addresses these issues by improving the caching,
indexing, and display of the documentation.

Key Improvements:
  1. Submenu items for the documentation now refresh automatically after
     retrieving the cache from S3. Before this fix, it won't show up in
     the submenu until we relaunch Continue.
  2. The titles and favicons for cached documentation now correctly
     reflect the values defined in the docs configuration, rather than
     defaulting to the URL.
  3. Deleting or commenting out a documentation entry in the configuration
     file will now automatically remove it from the submenu, ensuring
     consistency between the configuration and the displayed options.
  4. If only the title or favicon of a document changes, Continue now
     efficiently updates the metadata in the SQLite database instead of
     performing a full reindexing.
  5. Continue can now catch and apply changes to documentation titles and
     favicons even when the application is not actively running.

Future Considerations:
  1. The doc schema in the config-yaml should be updated to include
     maxDepth and useLocalCrawling parameters if we're planing to keep
     these parameters. Their values are always undefined now no matter
     what users set in config file.
  2. If we do keep maxDepth and useLocalCrawling, we should consider adding
     maxDepth and useLocalCrawling to the SQLite metadata. This would allow
     the SQLite database to serve as a persistent store for each document's
     parameters, preventing edge cases where changes to the documentation
     configuration are missed when Continue is inactive.
2025-07-08 17:06:56 -04:00
Josh Holmer
0b929bf799
fix: do not delete docs indexes on resync 2025-06-16 11:35:42 -04:00
uinstinct
4b4e3e4702 fix misused promises errors in core folder 2025-06-13 23:01:28 +05:30
Nate
cd9d63643f error on no-floating-promises in core 2025-04-29 15:11:35 -07:00
Fred Bricon
1dc58c63ab fix: allow downloading missing embedder on Ollama, in VS Code
Signed-off-by: Fred Bricon <fbricon@gmail.com>
2025-04-17 18:17:37 +02:00
tomasz-io
3ba1153243 fix: lint 2025-04-11 16:04:45 -07:00
tomasz-io
03cd1a338f fix: lint 2025-04-11 16:02:12 -07:00
Nate
f30b023cb0 Merge branch 'main' into nate/config-yaml-not-json 2025-03-25 12:10:37 -07:00
Nate
0160b30a7c update all instances of editConfigJson 2025-03-25 11:50:50 -07:00
Nate
cd10f4d2a2 remove docs indexing notification 2025-03-25 08:08:06 -07:00
Nate
0ce946886a dedupicate before inserting docs 2025-03-25 00:15:59 -07:00
Nate
dd21fddbe2 docscache fixes 2025-03-24 23:54:52 -07:00
Patrick Erichsen
a86ec0bb46 remove more pre-indexed refs 2025-03-22 20:37:47 -07:00
Patrick Erichsen
3f8afbefeb feat: create docs cache 2025-03-22 20:27:39 -07:00
Patrick Erichsen
137d4e48fe Update DocsService.ts 2025-03-14 14:56:54 -07:00
Patrick Erichsen
0156409dac feat: use s3 for global docs cache on all docs 2025-03-12 22:28:15 -07:00
Patrick Erichsen
9a318737df Merge branch 'main' into pe/unsupported-cpu-check-pt-2 2025-03-03 16:18:30 -08:00
Dallin Romney
081bfd016e model types -> model roles 2025-02-25 12:55:33 -08:00
Patrick Erichsen
0721109d07 Update DocsService.ts 2025-02-21 12:37:25 -08:00
Patrick Erichsen
2001dc94d4 Merge branch 'main' into pe/unsupported-cpu-check-pt-2 2025-02-21 12:37:23 -08:00
Dallin Romney
a0a152e603 fix embed and reranking logic 2025-02-19 12:24:17 -08:00
Nate
a2a8308f3e remove noisy notification 2025-02-15 13:42:39 -08:00
Dallin Romney
d710be468c cleanup 2025-02-14 21:38:18 -08:00
Dallin Romney
c4f42cefbe fix docs stuck at 0 2025-02-14 21:16:55 -08:00
Dallin Romney
d5df62934c reorder 2025-02-14 17:17:07 -08:00
Dallin Romney
c1b9775855 copy change 2025-02-14 16:06:27 -08:00
Dallin Romney
aa9de94df0 cleanup 2025-02-14 16:04:45 -08:00
Dallin Romney
7a31675e82 docs embed test run 2025-02-14 16:02:58 -08:00
Patrick Erichsen
9de923ff41 Merge branch 'main' into pe/unsupported-cpu-check-pt-2 2025-02-11 10:30:40 -08:00
Dallin Romney
a665b9792d skip docs indexing if already failed 2025-02-10 18:55:02 -08:00
Dallin Romney
6442115a1f failed docs in global context 2025-02-10 18:46:48 -08:00
Dallin Romney
06134357f9 remember failed docs index attempts 2025-02-10 18:28:11 -08:00
Dallin Romney
201bfef1a0 failed docs p1 2025-02-10 18:00:00 -08:00
Dallin Romney
3c05e75b9f docs indexing not dependent on disableIndexing 2025-02-10 17:17:18 -08:00
Patrick Erichsen
13a24f441f Update DocsService.ts 2025-02-06 13:16:17 -08:00
Patrick Erichsen
7ab87dc48e Merge branch 'main' into pe/unsupported-cpu-check-pt-2 2025-02-06 12:46:26 -08:00
Patrick Erichsen
90c663146e feat: more dynamic imports for LanceDB 2025-02-06 12:44:48 -08:00
Dallin Romney
fbee4a8aec import fix 2025-01-23 11:11:20 -08:00
Dallin Romney
bcb5cfd7b5 (broken) merge main 2025-01-19 22:04:15 -08:00
Dallin Romney
2ea3f3581f docs crawling testing is back 2025-01-16 16:15:22 -08:00
Dallin Romney
f0b26d9cf0 docs crawler testing 2025-01-16 15:09:04 -08:00
Dallin Romney
df820bd519 merge main 2025-01-16 11:45:10 -08:00