From 8e49b1f70ec586f6fabdb70853fb92e77ff16e38 Mon Sep 17 00:00:00 2001 From: Lifei Zhou Date: Wed, 25 Mar 2026 11:39:29 +1100 Subject: [PATCH] unset unnecessary variable --- ui/desktop/tests/e2e-tests/scripts/e2e-start.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/ui/desktop/tests/e2e-tests/scripts/e2e-start.sh b/ui/desktop/tests/e2e-tests/scripts/e2e-start.sh index 2c490d4da6..da11cae304 100755 --- a/ui/desktop/tests/e2e-tests/scripts/e2e-start.sh +++ b/ui/desktop/tests/e2e-tests/scripts/e2e-start.sh @@ -79,6 +79,9 @@ if [[ -f "$E2E_ENV" ]]; then fi # Start the app in foreground (Ctrl+C to stop) +# Unset variables that may leak from the parent shell and affect the UI +# (e.g. GOOSE_PREDEFINED_MODELS hides the "Configure providers" button) +unset GOOSE_PREDEFINED_MODELS export GOOSE_ALLOWLIST_BYPASS=true export GOOSE_DISABLE_KEYRING=1 export GOOSE_PATH_ROOT="$SESSION_DIR/root"