refactor: return token, startTime, and helper
This commit is contained in:
parent
971eb861e6
commit
b3da8c7c70
1 changed files with 1 additions and 1 deletions
|
|
@ -347,7 +347,7 @@ export class NextEditProvider {
|
|||
// This is left for a final check.
|
||||
if (!modelSupportsNextEdit(llm.model, llm.title, llm.capabilities)) {
|
||||
console.error(`${llm.model} is not capable of next edit.`);
|
||||
return undefined;
|
||||
return { token, startTime, helper: undefined };
|
||||
}
|
||||
|
||||
if (llm.promptTemplates?.autocomplete) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue