From 004f5c02d268389d7fc4f6eaae1c879da4973823 Mon Sep 17 00:00:00 2001 From: Derek Higgins Date: Mon, 8 Sep 2025 14:49:26 +0100 Subject: [PATCH] fix: Allow overriding model in integration tests Pass TEXT_MODEL parameter to pytest to enable model override in integration test runs. Signed-off-by: Derek Higgins --- scripts/integration-tests.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/integration-tests.sh b/scripts/integration-tests.sh index ab7e37579..d110e281c 100755 --- a/scripts/integration-tests.sh +++ b/scripts/integration-tests.sh @@ -232,7 +232,7 @@ if [[ -n "$TEST_SUBDIRS" ]]; then EXTRA_PARAMS="$EXTRA_PARAMS --text-model=$TEXT_MODEL --embedding-model=sentence-transformers/all-MiniLM-L6-v2" else PYTEST_TARGET="tests/integration/" - EXTRA_PARAMS="$EXTRA_PARAMS --suite=$TEST_SUITE" + EXTRA_PARAMS="$EXTRA_PARAMS --text-model=$TEXT_MODEL --suite=$TEST_SUITE" fi set +e