We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8f38363 commit ea6230cCopy full SHA for ea6230c
1 file changed
run_demo.sh
@@ -13,8 +13,12 @@ fi
13
14
# 2. Modify the manifest for the demo
15
echo "--- Modifying SCM for Demo ---"
16
-# Using sed to change the log_file path in the manifest
17
-sed -i 's/thought_log.txt/demo_thought_log.txt/' polyglot_state.yaml
+# Using yq to change the log_file path in the manifest
+if ! command -v yq >/dev/null 2>&1; then
18
+ echo "yq is required but not installed. Please install yq (https://mikefarah.gitbook.io/yq/) and rerun this script."
19
+ exit 1
20
+fi
21
+yq -i '.log_file = "demo_thought_log.txt"' polyglot_state.yaml
22
23
# 3. Launch the agent with the modified SCM
24
echo "--- Launching Agent ---"
0 commit comments