Use haiku for databricks (#6943)

Co-authored-by: Douwe Osinga <douwe@squareup.com>
This commit is contained in:
Douwe Osinga
2026-02-04 18:17:59 +01:00
committed by GitHub
parent 5492052f0c
commit 6ae72a6cf0
2 changed files with 19 additions and 1 deletions
+18
View File
@@ -2,6 +2,11 @@
# Compaction smoke test script
# Tests both manual (trigger prompt) and auto compaction (threshold-based)
#
# Environment variable overrides:
# COMPACTION_PROVIDER - Override the provider for tests 1 & 2 (default: use system default)
# COMPACTION_MODEL - Override the model for tests 1 & 2 (default: use system default)
# SKIP_BUILD - Skip cargo build if set
if [ -f .env ]; then
export $(grep -v '^#' .env | xargs)
@@ -19,6 +24,19 @@ fi
SCRIPT_DIR=$(pwd)
GOOSE_BIN="$SCRIPT_DIR/target/release/goose"
# Apply provider/model overrides if set
if [ -n "$COMPACTION_PROVIDER" ]; then
echo "Using override provider: $COMPACTION_PROVIDER"
export GOOSE_PROVIDER="$COMPACTION_PROVIDER"
fi
if [ -n "$COMPACTION_MODEL" ]; then
echo "Using override model: $COMPACTION_MODEL"
export GOOSE_MODEL="$COMPACTION_MODEL"
fi
if [ -n "$COMPACTION_PROVIDER" ] || [ -n "$COMPACTION_MODEL" ]; then
echo ""
fi
# Validation function to check compaction structure in session JSON
validate_compaction() {
local session_id=$1