fix(install.sh): redirect stdin from /dev/tty on exec so wizard gets terminal, not exhausted pipe

This commit is contained in:
Ishaan Jaffer 2026-03-14 12:39:25 -07:00
parent 29fa7c0f75
commit fa1c412912

View file

@ -119,7 +119,7 @@ read -r answer </dev/tty
if [ -z "$answer" ] || [ "$answer" = "y" ] || [ "$answer" = "Y" ]; then
echo ""
exec "$LITELLM_BIN" --setup
exec "$LITELLM_BIN" --setup </dev/tty
else
echo ""
header "Quick start:"