fix: improve error handling and path processing in memory discovery (#5175)
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com> Co-authored-by: Allen Hutchison <adh@google.com>
This commit is contained in:
parent
ca4c745e3b
commit
487818df27
|
@ -336,5 +336,8 @@ export async function loadServerHierarchicalMemory(
|
||||||
logger.debug(
|
logger.debug(
|
||||||
`Combined instructions (snippet): ${combinedInstructions.substring(0, 500)}...`,
|
`Combined instructions (snippet): ${combinedInstructions.substring(0, 500)}...`,
|
||||||
);
|
);
|
||||||
return { memoryContent: combinedInstructions, fileCount: filePaths.length };
|
return {
|
||||||
|
memoryContent: combinedInstructions,
|
||||||
|
fileCount: contentsWithPaths.length,
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue