continue-custom/core
Rob Leidle 4c4b211aae Move the bulk insert resolve into the COMMIT callback
db.db.serialize(...) guarantees that each statement runs in order. However, the function itself will terminate execution long before all the statements are executed. Therefore, we should only resolve the promise when the last COMMIT transaction has run. In the other cases, there will have been an error and we'll have call reject(err).

This also removed the need for the extra insert that was recently added so it was removed (in fact the extra insert was causing conflict errors).
2024-08-09 16:14:05 -07:00
..
.vscode 🚧 basic chat working with free trial 2023-12-07 00:06:19 -08:00
autocomplete match against lowercase model name when validating autocomplete model 2024-08-05 19:42:55 -04:00
commands update onboard (#1980) 2024-08-09 12:18:03 -07:00
config Indexing tests (#1979) 2024-08-09 12:54:53 -07:00
context Turn of chunking for files with more than 1m characters and files lacking extensions 2024-08-09 13:41:15 -07:00
continueServer Pre-release changes [skip ci] (#1931) 2024-08-05 15:39:31 -07:00
control-plane add sagemaker provider (#1917) 2024-08-07 07:05:37 -07:00
deploy publish stubs (#1472) 2024-06-12 22:30:27 -07:00
diff Preview (#1750) 2024-07-28 23:16:18 -07:00
indexing Move the bulk insert resolve into the COMMIT callback 2024-08-09 16:14:05 -07:00
llm Indexing tests (#1979) 2024-08-09 12:54:53 -07:00
promptFiles fix: filepath replacements in prompt files (#1939) 2024-08-06 11:31:10 -07:00
protocol Pre-release changes [skip ci] (#1931) 2024-08-05 15:39:31 -07:00
tag-qry 🚧 WIP on indexing for code context provider 2024-03-03 20:22:08 -05:00
test Turn of chunking for files with more than 1m characters and files lacking extensions 2024-08-09 13:41:15 -07:00
util Indexing tests (#1979) 2024-08-09 12:54:53 -07:00
vendor ⏩ Preview to main (#1299) 2024-05-16 22:15:44 -07:00
.eslintrc.json Pre-release changes [skip ci] (#1931) 2024-08-05 15:39:31 -07:00
.gitignore Indexing tests (#1979) 2024-08-09 12:54:53 -07:00
.npmignore 🔥 add tests to .npmignore 2024-03-19 12:54:17 -07:00
core.ts update intellij build for new workers 2024-08-08 10:46:42 -04:00
index.d.ts Fix watsonx stop tokens (#1959) 2024-08-09 09:38:36 -07:00
jest.config.js Pre-release changes [skip ci] (#1931) 2024-08-05 15:39:31 -07:00
jest.global-setup.ts Indexing tests (#1979) 2024-08-09 12:54:53 -07:00
jest.setup-after-env.ts Pre-release changes [skip ci] (#1931) 2024-08-05 15:39:31 -07:00
package-lock.json update package-locks 2024-08-07 10:06:14 -04:00
package.json add sagemaker provider (#1917) 2024-08-07 07:05:37 -07:00
tsconfig.json Pre-release changes [skip ci] (#1931) 2024-08-05 15:39:31 -07:00
tsconfig.npm.json ⏩ Preview to main (#1299) 2024-05-16 22:15:44 -07:00