Skip to content

Open-source Python library for AI browser agents, plus Browser Use Cloud: stealth browsers and a hosted agent API.

update user message default argument

Alezander9aab470243f21
diff --git a/.github/workflows/eval.yaml b/.github/workflows/eval.yaml
index 02d1d89db..f4dd6c3e7 100644
--- a/.github/workflows/eval.yaml
+++ b/.github/workflows/eval.yaml
@@ -78,7 +78,7 @@ jobs:
MAX_STEPS="${MAX_STEPS_PAYLOAD:-25}"
START_INDEX="${START_INDEX_PAYLOAD:-0}"
EVAL_GROUP="${EVAL_GROUP_PAYLOAD:-PRTests}"
- USER_MESSAGE="${USER_MESSAGE_PAYLOAD:-GitHub Action Run}"
+ USER_MESSAGE="${USER_MESSAGE_PAYLOAD}"
DEVELOPER_ID="${DEVELOPER_ID_PAYLOAD}"
FRESH_START_VALUE="${FRESH_START_PAYLOAD:-true}" # Default for fresh_start is true
@@ -110,7 +110,11 @@ jobs:
CMD="$CMD --fresh-start $FRESH_START_VALUE \
--eval-group \"$EVAL_GROUP\" \
- --user-message \"$USER_MESSAGE\""
+
+ # Only add user-message if it was provided in the payload
+ if [[ -n "$USER_MESSAGE_PAYLOAD" ]]; then
+ CMD="$CMD --user-message \"$USER_MESSAGE_PAYLOAD\""
+ fi
# Only add developer-id if it was provided in the payload
if [[ -n "$DEVELOPER_ID_PAYLOAD" ]]; then