OSVauco/agents/tests/test_local.sh

14 lines
422 B
Bash

#!/bin/bash
# test_local.sh — Run ADK agent locally before deploying to cloud
set -euo pipefail
echo "=== OSVauco-NMTMD-GCOS :: Local Agent Test ==="
gcloud auth application-default print-access-token >/dev/null 2>&1 || {
echo "ERROR: No ADC. Run: gcloud auth application-default login"; exit 1; }
echo "Starting ADK dev server at http://localhost:8080 ..."
echo "Press Ctrl+C to stop."
adk web agents/core-logic/