fix embeddings

This commit is contained in:
shinich39
2025-01-11 12:49:10 +09:00
parent dff506c7de
commit 43e5911e83
-3
View File
@@ -621,9 +621,6 @@ export class TextAreaAutoComplete {
value = TextAreaAutoComplete.replacer(value);
}
value = this.#escapeParentheses(value);
// Remove underscore
value = value.replace(/_/g, " ");
const afterCursor = this.helper.getAfterCursor();
const shouldAddSeparator = !afterCursor.trim().startsWith(this.separator.trim());