Skip to content

Commit 52b81be

Browse files
committed
Update run_agent_test.sh
1 parent 1a3a20d commit 52b81be

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

examples/tutorials/run_agent_test.sh

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ for arg in "$@"; do
4444
FROM_REPO_ROOT=true
4545
elif [[ "$arg" == "--build-cli" ]]; then
4646
BUILD_CLI=true
47+
FROM_REPO_ROOT=true # If building CLI, run from repo root
4748
else
4849
SINGLE_TUTORIAL="$arg"
4950
fi
@@ -159,7 +160,7 @@ start_agent() {
159160
if [ "$BUILD_CLI" = true ]; then
160161
local wheel_file=$(ls /home/runner/work/*/*/dist/agentex_sdk-*.whl 2>/dev/null | head -n1)
161162
# Use the built wheel
162-
uv run --with "$wheel_file" agentex agents run --manifest "$manifest_path" > "$logfile" 2>&1 &
163+
uv run --with "$wheel_file" agentex agents run --manifest "$abs_manifest" > "$logfile" 2>&1 &
163164
else
164165
uv run agentex agents run --manifest "$abs_manifest" > "$logfile" 2>&1 &
165166
fi
@@ -172,9 +173,9 @@ start_agent() {
172173
if [ "$BUILD_CLI" = true ]; then
173174
local wheel_file=$(ls /home/runner/work/*/*/dist/agentex_sdk-*.whl 2>/dev/null | head -n1)
174175
# Use the built wheel
175-
uv run --with "$wheel_file" agentex agents run --manifest "$manifest_path" > "$logfile" 2>&1 &
176+
uv run --with "$wheel_file" agentex agents run --manifest manifest.yaml > "$logfile" 2>&1 &
176177
else
177-
uv run agentex agents run --manifest "$abs_manifest" > "$logfile" 2>&1 &
178+
uv run agentex agents run --manifest manifest.yaml > "$logfile" 2>&1 &
178179
fi
179180
pid=$!
180181
cd "$original_dir"

0 commit comments

Comments
 (0)