Commit 260c831a09d1

Vincent Demeester <vincent@sbr.pm>
2026-02-02 10:16:18
scripts: add pir wrapper for pi-coding-agent with Vertex AI
Add 'pir' wrapper script for pi-coding-agent that pre-configures Google Vertex AI environment variables, similar to the 'oco' wrapper for opencode. The wrapper sets: - GOOGLE_CLOUD_PROJECT: Red Hat's GCP project - GOOGLE_CLOUD_LOCATION: us-central1 region Usage: pir # Start interactive session with Vertex AI pir --help # Show help pir --model gemini-2.5-flash # Use specific model Naming: 'pir' = pi + r (remote/red hat)
1 parent c362998
Changed files (1)
pkgs
my
scripts
bin
pkgs/my/scripts/bin/pir
@@ -0,0 +1,8 @@
+#!/usr/bin/env bash
+# Pi coding agent with Vertex AI environment
+# Usage: pir [args...]
+
+export GOOGLE_CLOUD_PROJECT=itpc-gcp-core-pe-eng-claude
+export GOOGLE_CLOUD_LOCATION=us-central1
+
+exec pi "$@"