mirror of
https://github.com/OpenHands/OpenHands.git
synced 2025-12-26 05:48:36 +08:00
Print out the regenerate command (#1759)
* Print out the output of the regenerate command * Update regenerate.sh
This commit is contained in:
parent
a48b02207f
commit
b13d4647ab
@ -59,6 +59,8 @@ for ((i = 0; i < num_of_tests; i++)); do
|
||||
sleep 1
|
||||
rm -rf logs
|
||||
rm -rf tests/integration/mock/$agent/$test_name/*
|
||||
# set -x to print the command being executed
|
||||
set -x
|
||||
echo -e "/exit\n" | SANDBOX_TYPE=$SANDBOX_TYPE WORKSPACE_BASE=$WORKSPACE_BASE \
|
||||
DEBUG=true REMIND_ITERATIONS=$remind_iterations \
|
||||
WORKSPACE_MOUNT_PATH=$WORKSPACE_MOUNT_PATH AGENT=$agent \
|
||||
@ -66,6 +68,7 @@ for ((i = 0; i < num_of_tests; i++)); do
|
||||
-i $MAX_ITERATIONS \
|
||||
-t "$task Do not ask me for confirmation at any point." \
|
||||
-c $agent
|
||||
set +x
|
||||
|
||||
mkdir -p tests/integration/mock/$agent/$test_name/
|
||||
mv logs/llm/**/* tests/integration/mock/$agent/$test_name/
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user