mirror of
https://github.com/PR0M3TH3AN/TORCH.git
synced 2026-11-02 19:01:55 +00:00
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:
1 file changed
+1
-1
@@ -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/);
|
||||
});
|
||||
Reference in new issue
Block a user