From 010de59a3c9e59fcb7e03ae098da061f1cf346a8 Mon Sep 17 00:00:00 2001 From: chrischristiansen-glitch Date: Mon, 25 May 2026 21:52:49 +0200 Subject: [PATCH] =?UTF-8?q?revert:=20bootstrap.sh=20tilbake=20til=20versjo?= =?UTF-8?q?nen=20fra=20f=C3=B8r=2015:00=20(kun=20opprinnelig=20tekst=20og?= =?UTF-8?q?=20hints)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- scripts/bootstrap.sh | 14 ++------------ 1 file changed, 2 insertions(+), 12 deletions(-) diff --git a/scripts/bootstrap.sh b/scripts/bootstrap.sh index d645b8f..e07eb92 100644 --- a/scripts/bootstrap.sh +++ b/scripts/bootstrap.sh @@ -14,8 +14,7 @@ CLOUD_RUN_URL="https://osvauco-agent-357036551735.us-central1.run.app" echo "" echo "╔══════════════════════════════════════════════════╗" echo "║ OSVauco VM Bootstrap ║" -echo "║ Prosjekt: $PROJECT_ID ║" - +echo "║ Prosjekt: $PROJECT_ID ║" echo "╚══════════════════════════════════════════════════╝" echo "" @@ -67,14 +66,6 @@ gcloud iam service-accounts add-iam-policy-binding "$AGENT_SA" \ echo "" echo "[4/4] Tester Cloud Run-agenten..." - -echo " Forventet konfig:" -echo " GOOGLE_CLOUD_LOCATION=us-central1" -echo " ORCHESTRATOR_MODEL=gemini-2.5-flash" -echo " SUBAGENT_MODEL=gemini-2.5-flash" -echo " REASONING_MODEL=gemini-3.5-flash" - -echo "" TOKEN=$(gcloud auth print-identity-token 2>/dev/null || echo "") if [[ -z "$TOKEN" ]]; then @@ -95,7 +86,7 @@ else cat /tmp/osvauco-test.json echo "" echo " Vanlige årsaker:" - echo " - Publisher Model '...gemini-2.0-flash(-001)...' not found: 2.0-modellene er utfaset. Kjør 'gcloud run services update ...' med GOOGLE_CLOUD_LOCATION=us-central1 og ORCHESTRATOR_MODEL=gemini-2.5-flash, SUBAGENT_MODEL=gemini-2.5-flash, REASONING_MODEL=gemini-3.5-flash" + echo " - gemini-2.0-flash: kjør 'gcloud run services update ...' med ORCHESTRATOR_MODEL=gemini-2.0-flash-001" echo " - 403: ny revisjon ikke deployet ennå — vent 2 min og prøv igjen" fi fi @@ -105,6 +96,5 @@ echo "╔═══════════════════════ echo "║ Bootstrap ferdig! ║" echo "║ Husk: bash infrastructure/03-teardown.sh ║" echo "║ ...hver kveld for å unngå 24/7-fakturering ║" - echo "╚══════════════════════════════════════════════════╝" echo ""