Commit graph

275 commits

Author SHA1 Message Date
Patrick Erichsen
4eeb34940f
chore: remove docs cache (#7108)
* chore: remove docs cache

* Update DocsService.ts
2025-08-15 14:03:32 -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
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
Dallin Romney
bbb81ff032 remove free trial provider 2025-05-26 17:42:05 -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
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
Owen W. Taylor
3553dfaae4 Add rich logging of LLM interactions
Instead of treating LLM logging as simply writing lines of text
sequentially, emit a stream of typed data objects that include
rich information about the interaction, such as timestamps,
message types, tool calls, etc.

These are then collected by a new custom webview in the vscode
extension (the "Continue Console"), allowing a user or developer
to browse through the different interactions and view them in detail.
In progress interactions are now streamed live, instead of being held back
to avoid concurrency issues.

This webview could be also exposed for IntelliJ or file logging
could be reimplemented on top of the new framework.
2025-04-07 14:11:38 -04: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
28c4c110f7 remove CDN cache 2025-03-24 10:55:17 -07:00
Patrick Erichsen
2d3874b56c Update DocsCache.ts 2025-03-23 21:07:36 -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
fe6c9a1477 feat: update URL replace logic 2025-03-17 12:31:28 -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
ed2f49551e chore: remove docs suggestions 2025-03-12 21:18:35 -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
7ca7e324ee Merge branch 'main' of https://github.com/continuedev/continue into dallin/model-toggles 2025-02-21 12:19:54 -08:00
Nate Sesti
52746e4d9e
Merge pull request #4109 from LLukas22/main
Allow articles without `h2` tags
2025-02-21 10:14:04 -08:00
Nate Sesti
adab0a28dd
Merge pull request #4157 from siemens/docs/django
docs: add Django to the pre indexed docs
2025-02-21 10:11:59 -08:00
Nate
f920f14bbf Merge branch 'main' into dallin/model-toggles 2025-02-19 12:48:23 -08:00
Dallin Romney
a0a152e603 fix embed and reranking logic 2025-02-19 12:24:17 -08:00
Nate
e34a56748d fix tsc errors 2025-02-18 15:46:12 -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
Roger Meier
de842ea51c docs: add Django to the pre indexed docs 2025-02-14 10:59:55 +01:00