add diff to context on files/smallEdit
This commit is contained in:
parent
64cf289055
commit
767a954951
1 changed files with 2 additions and 0 deletions
|
|
@ -65,6 +65,7 @@ import { walkDirCache } from "./indexing/walkDir";
|
|||
import { LLMLogger } from "./llm/logger";
|
||||
import { RULES_MARKDOWN_FILENAME } from "./llm/rules/constants";
|
||||
import { llmStreamChat } from "./llm/streamChat";
|
||||
import { NextEditProvider } from "./nextEdit/NextEditProvider";
|
||||
import type { FromCoreProtocol, ToCoreProtocol } from "./protocol";
|
||||
import { OnboardingModes } from "./protocol/core";
|
||||
import type { IMessenger, Message } from "./protocol/messenger";
|
||||
|
|
@ -701,6 +702,7 @@ export class Core {
|
|||
(diff: string) => {
|
||||
console.log(diff, "\n");
|
||||
// TODO handle devData logging here
|
||||
NextEditProvider.getInstance().addDiffToContext(diff);
|
||||
},
|
||||
);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue