🚑 fix autocomplete by binding function

This commit is contained in:
Nate Sesti 2024-03-19 10:30:37 -07:00
parent 05f4722e7f
commit 66ae9f2405
2 changed files with 4 additions and 4 deletions

View file

@ -1,4 +1,4 @@
git st{
{
"title": "config.json",
"$ref": "#/definitions/SerializedContinueConfig",
"definitions": {
@ -1063,7 +1063,7 @@ git st{
"outline",
"postgres",
"code",
"OS"
"system"
],
"markdownEnumDescriptions": [
"Reference the contents of the current changes as given by `git diff`",
@ -1084,7 +1084,7 @@ git st{
"Displays definition lines from the currently open files",
"References Postgres table schema and sample rows",
"Reference specific functions and classes from throughout your codebase",
"Reference your operating system with cpu"
"Reference your operating system and cpu"
],
"type": "string"
},

View file

@ -37,7 +37,7 @@ export class ContinueCompletionProvider
this.completionProvider = new CompletionProvider(
this.configHandler,
this.ide,
this.tabAutocompleteModel.get,
this.tabAutocompleteModel.get.bind(this.tabAutocompleteModel),
this.onError.bind(this),
getDefinitionsFromLsp,
);