Commit graph

556 commits

Author SHA1 Message Date
Dallin Romney
f22c37cf7d
fix: reranking score slicing (#6948) 2025-08-04 11:08:15 -07:00
uinstinct
b5beacdc9f tsc correction 2025-07-29 13:27:34 +05:30
uinstinct
f969659e8b get the deprecation message from the provider itself 2025-07-24 20:34:57 +05:30
uinstinct
b28d78ccc7 show deprecation message as toast 2025-07-24 20:24:39 +05:30
uinstinct
79b547bfe4 revert postgrescontextprovider removal 2025-07-24 20:04:06 +05:30
uinstinct
c1322f44ad remove postgres provider 2025-07-21 22:55:14 +05:30
Jacob Kim
0cbde36206 fix: race condition for this.lanceDbIndex being loaded and retrieveEmbeddings accessing it 2025-07-16 15:54:06 -07:00
Patrick Erichsen
7da112bbfa merge main 2025-07-10 17:29:08 -07:00
Dallin Romney
1a87532cdc
Merge pull request #6446 from continuedev/nate/async-exec-shell-path
run shell path async to avoid blocking config load
2025-07-10 16:01:34 -07:00
Dallin Romney
1424be3eb2
Merge pull request #6523 from Jazzcort/fix-docs-mention
Fix: improved Documentation Indexing and Submenu Updates
2025-07-09 17:10:18 -07:00
Patrick Erichsen
b7a9448e9e Update MCPConnection.vitest.ts 2025-07-09 11:17:58 -07:00
Patrick Erichsen
148d84fe03 Remove backward compatibility check in addToolCallDeltaToState
- This allows parallel tool calls to be processed without ID conflicts
- Tool calls are now stored correctly but still need state transition fix

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-08 15:37:23 -07: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
Vignesh.V
1b28153c72 feat: add 'uri' for context items for http context provider 2025-07-08 18:27:20 +05:30
Brian 'bdougie' Douglas
30596c06d4 Merge branch 'main' into bdougie/mcp-cwd 2025-07-07 11:43:55 -07:00
Nate
1b58a968f8 more informative log for retrieval tool call parsing failures 2025-07-05 09:56:27 -07:00
Nate Sesti
f90fafbe36
Merge pull request #6303 from uinstinct/no-results-instruction
improve: instruct model when no context results were retrieved
2025-07-04 17:47:25 -07:00
Nate
a50aecef37 don't throw noisy error when reranker isn't properly configured 2025-07-04 10:02:16 -07:00
Nate
3668ba636d run shell path async to avoid blocking config load 2025-07-03 23:07:15 -07:00
Nate
6fa241a3e4 Merge branch 'main' into no-results-instruction 2025-07-03 19:08:13 -07:00
Ting-Wai To
a87d8f37ac Address comments, refactor splitGrepResultsByFile into grepSearch implementation 2025-07-03 13:03:02 -07:00
Ting-Wai To
7345ad2c7a Address comments 2025-07-03 12:29:51 -07:00
Ting-Wai To
97b6ff9ef5 cleanup 2025-07-03 10:56:50 -07:00
Ting-Wai To
63552e3fd3 @codebase use tool calling (under experimental flag) 2025-07-03 10:40:06 -07:00
Dallin Romney
459d0a1afb
Merge pull request #6371 from uinstinct/telemetry-context-providers
chore: add telemetry for context providers
2025-07-01 14:14:23 -07:00
Brian 'bdougie' Douglas
7964faff7d Merge branch 'main' into bdougie/mcp-cwd 2025-07-01 13:57:40 -07:00
Dallin Romney
2713f296d9
Merge pull request #6336 from jacob-lcs/jacob-lcs-patch-1
fix: Fix retrieval reranker sorting issue
2025-07-01 10:36:43 -07:00
Tomasz Stefaniak
5503297e40
Merge pull request #6092 from uinstinct/core-vitest/config
chore: migrate core (config, context) tests to vitest
2025-07-01 09:28:56 -07:00
uinstinct
0dca48ccf9 add telemetry for context providers 2025-07-01 16:11:55 +05:30
uinstinct
c22402b6d9 fix type in tests 2025-07-01 13:36:17 +05:30
uinstinct
faa05ebc2c Merge branch 'main' into no-results-instruction 2025-07-01 13:34:32 +05:30
uinstinct
ed49258fd6 add isInAgentMode in retreival pipeline 2025-07-01 13:11:05 +05:30
uinstinct
35029e2409 Merge branch 'main' into core-vitest/config 2025-07-01 08:18:47 +05:30
Ting-Wai To
968bc517cc Remove @codebase from default context providers 2025-06-30 11:13:02 -07:00
uinstinct
fc47e27df8 Merge branch 'main' into no-results-instruction 2025-06-30 11:05:20 +05:30
Jacob
1c390db596
Fix retrieval reranker sorting issue 2025-06-28 23:14:09 +08:00
Dallin Romney
f19ac5950f show empty message for empty terminal for terminal context provider 2025-06-27 18:01:06 -07:00
Dallin Romney
3dfaa790f0 merge main 2025-06-27 11:07:51 -07:00
uinstinct
aace37c178 remove console log 2025-06-26 16:29:21 +05:30
uinstinct
c4f17fae2d when no results were retrieved, use other tools
- add the instruction prompt
2025-06-26 10:27:29 +05:30
Brian 'bdougie' Douglas
6e72c496c7 npm run format 2025-06-24 12:08:54 -07:00
Brian 'bdougie' Douglas
79d74977d3 adds cwd to the MCP yaml as an option. 2025-06-24 11:28:10 -07:00
Patrick Erichsen
deda3f0297
Merge pull request #6225 from continuedev/nate/query-empty-null
Handle empty query by sending "null" instead of empty string in MCP context provider
2025-06-23 15:36:49 -07:00
Dallin Romney
2c352ea7c3 Merge branch 'main' of https://github.com/continuedev/continue into dallin/prompt-tools 2025-06-23 14:14:12 -07:00
Dallin Romney
fb5beb042e WIP: render slash commands 2025-06-23 09:26:10 -07:00
uinstinct
d510541247 rename to vitest 2025-06-23 18:46:59 +05:30
uinstinct
3cb606bc86 Merge branch 'main' into core-vitest/config 2025-06-23 18:44:06 +05:30
Patrick Erichsen
34738ad08f
Merge pull request #6068 from continuedev/nate/log-errors
improved error logging
2025-06-22 17:01:31 -07:00
Nate
8b6d1ff9a3 Handle empty query by sending "null" instead of empty string in MCP context provider 2025-06-20 11:26:26 -07:00
Dallin Romney
d30c357142 improved grep formatting function 2025-06-19 17:41:44 -07:00