Commit af08b4163c3c

Vincent Demeester <vincent@sbr.pm>
2026-02-04 12:43:33
scripts: add pir wrapper for pi with Vertex AI provider
Adds pir script that wraps pi coding agent with google-vertex provider and gemini-2.5-pro model (allowed by org policy). Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
1 parent 5fc86a6
Changed files (2)
pkgs
my
pkgs/my/scripts/bin/pir
@@ -0,0 +1,9 @@
+#!/usr/bin/env bash
+# Pi coding agent with Vertex AI provider
+# Usage: pir [args...]
+# Uses google-vertex provider with gemini-2.5-pro (allowed by org policy)
+
+export GOOGLE_CLOUD_PROJECT=itpc-gcp-pnd-pe-eng-claude
+export GOOGLE_CLOUD_LOCATION=us-central1
+
+exec pi --provider google-vertex --model gemini-2.5-pro "$@"
pkgs/my/scripts/default.nix
@@ -5,7 +5,7 @@
 
 stdenv.mkDerivation {
   pname = "vde-scripts";
-  version = "0.4";
+  version = "0.5";
 
   src = ./.;