From 0069aa277a86b58d27b17c9ca3da7d294694dbd7 Mon Sep 17 00:00:00 2001 From: Tomoya Fujita Date: Fri, 13 Sep 2024 09:31:57 -0700 Subject: [PATCH] add `--dry-run` to the test script. Signed-off-by: Tomoya Fujita --- ros2ai/verb/exec.py | 2 +- scripts/verification.sh | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/ros2ai/verb/exec.py b/ros2ai/verb/exec.py index b2c4834..0e543d9 100644 --- a/ros2ai/verb/exec.py +++ b/ros2ai/verb/exec.py @@ -78,4 +78,4 @@ def main(self, *, args): if not args.dry_run: run_executable(command = command_str) else: - print(f"Command: '{command_str}'") + print(f"Command Candidate: '{command_str}'") diff --git a/scripts/verification.sh b/scripts/verification.sh index 67603e1..ab20177 100755 --- a/scripts/verification.sh +++ b/scripts/verification.sh @@ -31,6 +31,7 @@ command_list=( "ros2 ai query \"say hello\" -nv" "ros2 ai query \"say hello\" -m gpt-3.5-turbo -u https://api.openai.com/v1 -t 100" "ros2 ai exec \"give me all topics\"" + "ros2 ai exec \"give me all topics\" --dry-run" "ros2 ai exec \"give me all topics\" -d" )