devrel: Makefile for gemini-cli demo (issue #534)

This commit is contained in:
molecule-ai[bot] 2026-04-16 20:42:35 +00:00 committed by GitHub
parent 1e4c125959
commit 04f4ae9b72
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -0,0 +1,15 @@
.PHONY: run deps check-env
## Install Python dependency
deps:
pip install httpx
## Verify required env vars are set before running
check-env:
@test -n "$(PLATFORM_URL)" || (echo "Error: PLATFORM_URL is not set" && exit 1)
@test -n "$(PLATFORM_TOKEN)" || (echo "Error: PLATFORM_TOKEN is not set" && exit 1)
@test -n "$(GEMINI_API_KEY)" || (echo "Error: GEMINI_API_KEY is not set" && exit 1)
## Run the demo end-to-end
run: deps check-env
python demo.py