Files
privateGPT/scripts/worker_entrypoint
Javier Martinez 165a885b82 fix: worker config
(cherry picked from commit 1371c275a1)
2026-07-14 18:36:09 +02:00

8 lines
184 B
Bash
Executable File

#!/bin/bash
set -euo pipefail
: "${PGPT_WORKER_MODE:?PGPT_WORKER_MODE is required}"
: "${PGPT_WORKER_APP_MODULE:=private_gpt}"
exec python -m "${PGPT_WORKER_APP_MODULE}.worker" "$@"