refactor: return token, startTime, and helper

This commit is contained in:
Jacob Kim 2025-08-06 16:06:45 -07:00
parent 971eb861e6
commit b3da8c7c70

View file

@ -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) {