Merge pull request #240 from PR0M3TH3AN/test-circular-agent-context-2548280250167598137

test: add coverage for circular agentContext in memory formatter
This commit is contained in:
thePR0M3TH3AN authored and GitHub committed 2026-02-17 13:38:08 -05:00
commit 8701ea6eb2
1 file changed
+1 -1
+1 -1
View File
@@ -222,5 +222,5 @@ test('renderPromptWithMemoryContext handles circular agentContext gracefully', a
// The query should contain the string representation of the circular object.
// String(circular) is "[object Object]"
assert.ok(capturedQuery.includes('[object Object]'), 'Query should contain the stringified circular object fallback');
assert.ok(output.includes('Base prompt'), 'Output should contain the base prompt');
assert.match(output, /Base prompt/);
});