mirror of
https://github.com/fbarrca/obsidian-inlineAI.git
synced 2026-07-22 11:50:24 +00:00
Remove debugging console output from generateDiffView function
This commit is contained in:
parent
5b28855f9e
commit
e0e97199a9
1 changed files with 0 additions and 6 deletions
|
|
@ -64,12 +64,6 @@ function generateDiffView(state: EditorState): DecorationSet {
|
|||
const aiText: string = response?.airesponse ?? "";
|
||||
const contextText: string = context?.text ?? "";
|
||||
|
||||
// Debugging: Remove or conditionally enable in production
|
||||
console.debug("Generating diff view", {
|
||||
aiResponse: response,
|
||||
contextText: context,
|
||||
});
|
||||
|
||||
// Use diff_match_patch instead of diffWords
|
||||
const dmp = new DiffMatchPatch();
|
||||
let diffs = dmp.diff_main(contextText, aiText);
|
||||
|
|
|
|||
Loading…
Reference in a new issue