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
9e0c5f64bb
fix merge conflicts
2025-03-13 17:08:37 -07:00
Dallin Romney
bf9cc74ace
walk dir logging
2025-03-10 21:21:50 -07:00
Nate
cfc99b7e57
remove legacy server cache logic
2025-03-10 20:41:40 -07:00
Patrick Erichsen
963713d356
Merge branch 'main' into index-fixes
2025-03-03 18:44:56 -08:00
Patrick Erichsen
82a328ca15
feat: merge conflicts
2025-03-03 16:18:51 -08:00
Patrick Erichsen
9a318737df
Merge branch 'main' into pe/unsupported-cpu-check-pt-2
2025-03-03 16:18:30 -08:00
jubilantjerry
7264c9d12b
Fix tag catalog inconsistency bugs
2025-02-25 15:15:42 +08:00
Dallin Romney
a0a152e603
fix embed and reranking logic
2025-02-19 12:24:17 -08:00
Patrick Erichsen
90c663146e
feat: more dynamic imports for LanceDB
2025-02-06 12:44:48 -08:00
Nate
9edd5e3e24
Use ConfigResult everywhere
2024-12-24 14:03:23 -05:00
Nate
26a847cd12
file stats method
2024-12-24 10:54:40 -05:00
Dallin Romney
a3b5dd9e0c
fix config yaml conflicts
2024-12-13 15:41:12 -08:00
Dallin Romney
b6b3cceb78
(BROKEN COMMI) path -> uri vscode utils and prompt files cont
2024-12-10 17:28:56 -08:00
Nate
9658449c03
remove EmbeddingsProvider
2024-12-08 12:30:35 -08:00
Dallin Romney
f7f64ff341
pause fix, cancelled status
2024-11-27 23:42:15 -07:00
Dallin Romney
77aa657d8b
index files - cleanup
2024-11-14 17:14:07 -08:00
Dallin Romney
2bb2e65575
refresh index for files
2024-11-14 16:33:05 -08:00
Test
b5cab4609b
chore: apply eslint to vscode and core
2024-11-11 07:38:52 -08:00
Nate
72e5216633
extract EXTENSION_NAME
2024-09-24 14:49:49 -07:00
Shigma
7f214adcbd
fix: fix 100% indexing progress
2024-09-23 18:02:31 +08:00
Nate Sesti
1a4ffd17a8
reduce batch size for indexing to avoid API limits
2024-08-21 14:34:16 -07:00
Nate Sesti
77b4b67282
improved indexing error handling
2024-08-19 13:31:18 -07:00
Patrick Erichsen
5406d0e1a2
test: colocate tests in core
2024-08-16 10:35:40 -07:00
Nate Sesti
3c4f4dea31
extract functions responsible for errors
2024-08-13 18:13:36 -07:00
Patrick Erichsen
b6fedb54b3
merge dev
2024-08-13 11:29:07 -07:00
Patrick Erichsen
c978d7c871
feat: create "rebuild index" dialog
2024-08-12 18:04:13 -07:00
Patrick Erichsen
994c9c4dcf
remove extra arg
2024-08-12 15:47:17 -07:00
Patrick Erichsen
93b0b04baa
merge dev
2024-08-12 14:40:07 -07:00
Rob Leidle
2272aa121a
Change the indexing batch size to a static value of 100
...
This appears to have a positive impact on indexing throughput on my M1 mac
2024-08-09 16:46:52 -07:00
Rob Leidle
d9efc11193
Turn of chunking for files with more than 1m characters and files lacking extensions
...
This should help with some of the unnecessary work being done in indexing
2024-08-09 13:41:15 -07:00
Patrick Erichsen
9f39e12d44
break down computeRows
2024-08-09 13:32:31 -07:00
Nate Sesti
7582aa8240
Indexing tests ( #1979 )
...
* fix missing insertion into lancedb index
* successfully running codebaseindex test
* await
* fix typo
* clean up indexing tests
* expectPlan
2024-08-09 12:54:53 -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
faef4a6ed1
use console.debug
2024-08-08 16:20:52 -04:00
Rob Leidle
d9ca1c7c65
Make indexing functional in large workspaces by chunking segments of the workspace instead of workign on the entire workspace at once ( #1876 )
...
Co-authored-by: Rob Leidle <rleidle@tesla.com>
2024-08-05 16:31:38 -07:00
Rob Leidle
da6428afc3
Change the onDidSaveTextDocument handler to only reindex the single saved file ( #1873 )
...
This will improve scale as before the indexing process was restarted on
every file save.
Co-authored-by: Rob Leidle <rleidle@tesla.com>
2024-07-30 12:16:29 -07:00
Josh Vera
447e1e686d
Refresh index fixes ( #1795 )
...
* Use the resultType given to markComplete
This fixes an issue where if there were multiple result types in itemToAction such as an update with UpdateNewVersion and UpdateOldVersion, only the UpdateOldVersion would be hit (which is a noop) and the UpdateNewVersion would never be fired, causing us to never update the timestamp of the tag_catalog.
* Add a Compute and UpdateLastUpdated to refreshIndex
Removes the ability to insert duplicate rows if we're just computing the result. Instead we replace the existing row instead.
* Don't insert compute tags
They are REPLACEd in markComplete now.
2024-07-22 12:54:11 -07:00
Lukas Kreussel
521669074e
Configurable maxChunkSize for embedding providers ( #1746 )
...
* Add `maxChunkSize` to `EmbeddingsProvider`
* Add `maxChunkSize` to schema
2024-07-16 09:05:19 -07:00
Nate Sesti
afa582345a
Nate/control plane client ( #1691 )
...
* docs: add docs and schema for "OS" provider (#1536 )
* ignore .env
* fix(gui): ctx rendering w/ renderInlineAs: "" (#1541 )
* ✨ use and cache imports for autocomplete (#1456 )
* ✨ use and cache imports for autocomplete
* fix tsc
* fix codeqwen autocomplete leading space
* add voyage rerank-1
* feat: `--noEmit` for tsc checks in CI (#1559 )
* docs: update CustomContextProvider docs (#1557 )
* add stop tokens to qwen prompt
* update docs to reflect 3.5 sonnet being best
* docs: comment out unused providers (#1561 )
* import Handlebars
* feat: toast notification for config updates (#1560 )
* feat: toast notification for config updates
* feat: only trigger toast on config.json save
* displayRawMarkdown option
* feat: open pane on install (#1564 )
* feat: open pane on activation
* comment out testing code
* update to reflect 16 stop words limit for deepseek
* feat: only trigger config update toast in vscode (#1571 )
* docs(prompt-files): fix typos + clarify (#1575 )
* doc: prompt file typo + clarifications
* fix: add back correct docs
* chore: add telemetry for pageviews (#1576 )
* feat: update onboarding w/ embeddings model (#1570 )
* chore(gui): remove unused pages
* feat: add embeddings step
* feat: update styles
* feat: copy button updates
* fix: correct pull command for embed model
* fix: remove commented code
* fix: remove commented code
* feat: simplify copy btn props
* chore: rename onboarding selection event
* feat: add provider config
* fix: undo msg name
* remove dead code
* fix: invalid mode check
* fix: remove testing logic
* docs(telemetry): add pageviews to tracking list (#1581 )
* Add reranker configuration options to codebase embedding docs (#1584 )
- Introduce reranker concept
- List available reranker options
- Provide configuration instructions
- Update keywords to include "reranker"
* chore: update pr template with screenshots (#1590 )
* Refactor ConfirmationDialog to use SecondaryButton for cancel action (#1586 )
* Added instructions for running docs server locally (#1578 )
- Added NPM script method
- Added VS Code task method
- Update contributing guidelines
* Update branch policy (#1577 )
- Change PR target to `dev` branch
- Update `CONTRIBUTING.md` instructions
* Consolidate example configurations into the main configuration guide (#1579 )
- Moved examples to configuration.md
- Deleted the separate examples.md file
- Updated sidebar order and links
- Improved readability and structure in configuration.md
* fix: fullscreen gui retains context when hidden, fixed fullscreen focusing (#1582 )
* Update completionProvider.ts (warning tab-autocomplete models) (#1566 )
* feat: enhanced IndexingProgressBar with blinking dot feature
- Integrated BlinkingDot component
- Added STATUS_COLORS for various states
- Replaced CircleDiv with BlinkingDot in UI
- Updated status messages and layout
* small UI tweaks
* feat(gui): enhance ModelCard, ModelProviderTag, and Toggle components (#1595 )
- add styling and adjustments to ModelCard
- update ModelProviderTag font size
- remove box shadow from Toggle component
- tweak icon styles in ModelCard
- improve alignment and spacing
* media query
* feat: add best experience onboarding
* fix: file rename
* stop movement on button hover by keeping same border thickness
* fix mistake in setting cursor: pointer
* fix when free trial option is shown
* Support Node.js versions below 20 for streaming response handling (#1591 )
- Add fallback for Node < 20
- Implement toAsyncIterable for streaming
- Use TextDecoder for manual decoding
- Maintain existing streaming for Node 20+
* small fixes
* feat: add free trial card to onboarding (#1600 )
* feat: add free trial card to onboarding
* add import
* fix hasPassedFTL
* fix /edit cancellation from UI
* feat: add `applyCodeBlock` experimental prop (#1601 )
* feat: add new model styling improvements (#1609 )
* feat: add new model styling improvements
* better gap size
* feat: update bug_report.yml (#1610 )
* chore: update bug_report.yml
* typo fix
* feat: add labels to "Add docs" dialog (#1612 )
* feat: add labels to "Add docs" dialog
* remove autofocus
* don't double load config
* small fixes
* speed up directory traversal, and use correct native path module
* option not to show config update toast
* merge air-gapped and recommended setup pages
* chore: add telemetry for full screen toggle (#1618 )
* Fix headings in codebase-embeddings.md (#1617 )
* mention jetbrains
* docs: update changie (#1619 )
* feat: updated changie config
* hide toc and autogenerate
* Update changelog.mdx
* link to deeper explanation of embeddings models
* ensure target="_blank" for all links in sidebar
* fix gif links in intellij README.md
* don't require rust in dependency installation
* chore: fix padding on gh button (#1620 )
* chore: adjust button padding
* Update tasks.json
* escape colons in diff path
* smoother lancedb indexing reporting
* smooth progress updates for indexing
* fix tsc err
* rerank-lite-1
* remove doccs
* basic tests for VS Code extension
* improved testing of VS Code extension
* docs: add docs and schema for "OS" provider (#1536 )
* ignore .env
* 🚑 fix constant warnings when onboarding with Ollama
* ✨ use and cache imports for autocomplete (#1456 )
* ✨ use and cache imports for autocomplete
* fix tsc
* team analytics
* apply control plane settings
* workos auth
* ide protocol get session info
* UI for auth
* profile switching
* small fixes
* updates
* refresh tokens
* updates
* fix tsc errs
* model select in toolbar to make room for profile selector
* prod client id
* link to prod URL
* internal beta option
* profiles change listener
---------
Co-authored-by: Patrick Erichsen <patrick.a.erichsen@gmail.com>
Co-authored-by: Priyash <38959321+priyashpatil@users.noreply.github.com>
Co-authored-by: Jonah Wagner <jonahwagner231@gmail.com>
Co-authored-by: YohannZe <99359799+YohannZe@users.noreply.github.com>
Co-authored-by: Dan Dascalescu <ddascalescu+github@gmail.com>
2024-07-08 21:51:53 -07:00
Nate Sesti
1386eb692a
Nate/better retrieval ( #1677 )
...
* deduplicatearray tests
* break out separate retrieval pipelines
* IConfigHandler
* tests for codebase indexer
* better .continueignore for continue
* indexing fixes
* ignore .gitignore and .continueignore when indexing
* retrieval pipeline improvements
2024-07-05 22:40:19 -07:00