mirror of
https://github.com/All-Hands-AI/OpenHands.git
synced 2026-01-09 14:57:59 -05:00
Integration testing: unset irrelevant env variables (#2902)
This commit is contained in:
@@ -5,6 +5,12 @@ set -eo pipefail
|
||||
## CONSTANTS AND ENVIRONMENTAL VARIABLES ##
|
||||
##############################################################
|
||||
|
||||
# unset environmental variables that might disturb testing
|
||||
unset OPENAI_API_KEY
|
||||
unset SANDBOX_ENV_OPENAI_API_KEY
|
||||
unset OPENAI_BASE_URL
|
||||
unset OPENAI_MODEL
|
||||
|
||||
TMP_FILE="${TMP_FILE:-tmp.log}"
|
||||
|
||||
if [ -z $WORKSPACE_MOUNT_PATH ]; then
|
||||
|
||||
Reference in New Issue
Block a user