style: auto-fix ESLint issues (curly braces and formatting)
- Add curly braces to all if/else/for/while statements - Fix indentation and trailing spaces - Auto-fixed 372 linting errors using eslint --fix - Remaining issues are warnings only (non-null assertions, explicit any types)
This commit is contained in:
@@ -57,7 +57,7 @@ export async function initMemory(deps: MemoryDeps): Promise<MemoryResult> {
|
||||
}
|
||||
|
||||
const hash = contentHash(content);
|
||||
if (vectorStore.hasContentHash(ns, hash)) continue;
|
||||
if (vectorStore.hasContentHash(ns, hash)) {continue;}
|
||||
|
||||
const chunks = chunkText(content, ns, {
|
||||
chunkSize: config.memory.embedding.chunk_size,
|
||||
|
||||
Reference in New Issue
Block a user