nothing / start.sh
devarshia5's picture
Upload 17 files
8f09f6a verified
Raw
History Blame Contribute Delete
535 Bytes
#!/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}"