view mrjunejune/inference_sidecar_launcher.sh @ 267:a78f5986011f

discover bundled production runtimes Locate Bazel-packaged Copilot and Python binaries by stable suffix instead of hardcoding an external repository prefix. Co-authored-by: Copilot <[email protected]>
author MrJuneJune <me@mrjunejune.com>
date Fri, 07 Aug 2026 12:58:55 -0700
parents 1f9877b637e9
children
line wrap: on
line source

#!/usr/bin/env bash
set -euo pipefail

: "${MRJUNEJUNE_PYTHON_PATH:?MRJUNEJUNE_PYTHON_PATH must be set}"
: "${MRJUNEJUNE_SIDECAR_ZIP:?MRJUNEJUNE_SIDECAR_ZIP must be set}"

exec "$MRJUNEJUNE_PYTHON_PATH" "$MRJUNEJUNE_SIDECAR_ZIP" "$@"