Spaces:
Runtime error
Runtime error
File size: 535 Bytes
62b83b2 8f09f6a 62b83b2 fd7a7ab 62b83b2 | 1 2 3 4 5 6 7 8 9 10 11 | #!/usr/bin/env bash
# Antaram startup on HF (Linux). agy reads its OAuth token from a file
# (.gemini/antigravity-cli/antigravity-oauth-token); each per-key home gets its
# own copy via agy_bridge.ensure_home(). We also write it to AGY_CREDS_PATH if set.
set -e
python -c "from app.bootstrap import ensure_credentials; print('[start] creds file ->', ensure_credentials())" || true
echo "[start] agy version: $(${AGY_BIN:-agy} --version 2>/dev/null || echo '??')"
exec uvicorn app.agy_server:app --host 0.0.0.0 --port "${PORT:-7860}"
|