Commit graph

709 commits

Author SHA1 Message Date
Ting-Wai To
6bdae841d8 test: chunkDocumentWithoutId 2025-07-23 17:44:17 -07:00
Ting-Wai To
24574d3544 test: verify chunkDocument filters out chunks exceeding maxChunkSize 2025-07-22 11:24:59 -07:00
Nate
7df8c56d65 skip flaky test for github cralwer 2025-07-17 22:48:57 -07:00
Jazzcort
f59863ba70 Fix: add sanitizing process to strip off the trailing slash of the doc URL
In this patch, we add a sanitizing process to strip off the trailing forward slash (if any) in
the given URL before generating the file path for S3 bucket. Therefore, both variants (url
with / and without /) in the config file can be treated the same.

https://github.com/continuedev/continue/issues/6454
2025-07-16 16:41:58 -04: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
uinstinct
a020a49f4b add timestamp calculation 2025-07-10 20:47:44 +05:30
uinstinct
69f035d263 fix eslint 2025-07-10 19:28:18 +05:30
uinstinct
a472461478 introduce indexing lock 2025-07-10 19:27:00 +05:30
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
Nate
de2d0c187f parse incorrectly formatted vectors so we can salvage broken indexes 2025-07-05 09:53:53 -07:00
Nate
a91a28160e fix typo 2025-07-04 10:12:52 -07:00
Nate Sesti
e2fcf420bb
Merge pull request #6390 from tingwai/tingwai/indexing-error-handling-dont-halt-on-error
Prevent entire indexing process from stopping on error and surface messages to Indexing menu
2025-07-03 11:02:50 -07:00
Ting-Wai To
057809b242 Prevent entire indexing process from stopping on error and surface messages to Indexing menu 2025-07-02 10:13:00 -07:00
Nate
f0a7e2675d Merge branch 'main' into issue-6139 2025-07-01 18:37:01 -07:00
Dallin Romney
850aca09e4 Merge branch 'main' of https://github.com/continuedev/continue into dallin/use-embeddings-batches 2025-06-23 09:28:12 -07:00
Nate Sesti
dbabee5906
Merge branch 'main' into patch-2 2025-06-20 19:13:30 -07:00
Dallin Romney
69ea88ccc5 reduce codebase indexer file batch size 2025-06-17 15:52:17 -07: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
Patrick Erichsen
7140451aa3
Merge pull request #6032 from owl-app/fix-codebase-indexing
fix: 🐛 Codebase Indexing still not work
2025-06-09 14:48:43 -07:00
Patrick Erichsen
f7b10511bd
Merge pull request #5564 from chezsmithy/fix(files-context)-refresh-on-new-file-and-save
fix: 🐛 Index files from save and tools
2025-06-09 14:30:38 -07:00
Dallin Romney
f4233aebdd merge main 2025-06-09 10:10:05 -07:00
Jacob
6d6f89fe55
fix: Fix the issue where the chunk index might be duplicated 2025-06-09 11:04:23 +08:00
Paweł Kęska
955ab93efc fix: 🐛 Codebase Indexing still not work 2025-06-08 15:16:35 +02:00
Jacob Kim
207cf9766d create a function to include files listed inside workspace .continueignore 2025-06-05 14:05:55 -07:00
chezsmithy
0c7cecd53d Updates to use codebase indexer 2025-06-04 22:02:59 -07:00
chezsmithy
f1a44194fb more cleanup 2025-06-04 20:54:28 -07:00
Dallin Romney
4137954fea more JSON parsing cases 2025-06-04 17:55:31 -07:00
chezsmithy
2a719dea88 mak'in it prettier 2025-06-03 12:56:54 -07:00
chezsmithy
a5db30dab3 refactor: ♻️ Refactor CodeBaseIndexer out of core 2025-06-03 12:52:48 -07:00
Nate
02e4fa6e45 Merge branch 'main' into nate/prettier-ci 2025-06-02 13:03:36 -07:00
Nate Sesti
bb760f76c2
Merge pull request #5855 from continuedev/dallin/remove-free-trial
Remove free trial provider
2025-05-31 23:31:07 -07:00
Patrick Erichsen
9c2a780fa9 fix: use dir hash in tagToString 2025-05-28 13:55:41 -07:00
Dallin Romney
bbb81ff032 remove free trial provider 2025-05-26 17:42:05 -07:00
Dallin Romney
98d065ac30 fix codebase indexer config logic 2025-05-26 11:55:16 -07:00
Nate
184be8f092 npx prettier --check "core/**/*.{js,jsx,ts,tsx,json,css,md}" --ignore-p
ath .gitignore --ignore-path .prettierignore --write
2025-05-25 18:34:39 -07:00
Patrick Erichsen
98efbbd80f fix: incorporate feedback 2025-05-12 18:31:56 -07:00
Patrick Erichsen
c452f90014 Update utils.ts 2025-05-12 11:30:39 -07:00
Patrick Erichsen
afb6bd0fb5 fix: truncate tagToString to max filename len 2025-05-12 11:28:12 -07:00
Nate
cd9d63643f error on no-floating-promises in core 2025-04-29 15:11:35 -07:00
Patrick Erichsen
d2abb9a28a
Merge branch 'main' into download-embedder-ollama 2025-04-28 16:11:51 -07:00
Dallin Romney
edd4ace4b6 remove control server beta setting 2025-04-17 17:20:13 -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
Dallin Romney
69d1899e03 skip lance test 2025-04-15 17:13:09 -07: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