From 9e9f308e1947a4e0ab60c8b14e93fb80383e32f2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jaspur=20H=C3=B8jgaard?= Date: Wed, 11 Feb 2026 11:54:17 +0000 Subject: [PATCH] fix: add model flag to OpenCode CLI command in validation script --- scripts/validate.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/validate.sh b/scripts/validate.sh index ada2229..a279391 100755 --- a/scripts/validate.sh +++ b/scripts/validate.sh @@ -382,7 +382,7 @@ run_opencode() { # Run OpenCode CLI and capture output set +e # Temporarily disable exit on error to capture exit code - opencode -q -p "$(cat "$prompt_file")" 2>&1 | tee /tmp/validation-full-output.md + opencode -q -m "openrouter/$model" -p "$(cat "$prompt_file")" 2>&1 | tee /tmp/validation-full-output.md local exit_code=$? set -e # Re-enable exit on error