aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/run-agent.js
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/run-agent.js')
-rwxr-xr-xscripts/run-agent.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/run-agent.js b/scripts/run-agent.js
index 36fc66b..9aba908 100755
--- a/scripts/run-agent.js
+++ b/scripts/run-agent.js
@@ -111,7 +111,7 @@ function returnToLLM(value) {
if (proto === "[object Object]" || proto === "[object Array]") {
const valueStr = JSON.stringify(value, null, 2);
require("assert").deepStrictEqual(value, JSON.parse(valueStr));
- writer.write(value);
+ writer.write(valueStr);
}
}
}