mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-17 23:51:30 +00:00
- Put a cap on newrelic version on v13. v12 just released and is still compatible. - Ensured the shell script ends in a newline
16 lines
437 B
Bash
16 lines
437 B
Bash
#!/bin/sh
|
|
|
|
if [ "$SEPARATE_HEALTH_APP" = "1" ]; then
|
|
export LITELLM_ARGS="$@"
|
|
export SUPERVISORD_STOPWAITSECS="${SUPERVISORD_STOPWAITSECS:-3600}"
|
|
exec supervisord -c /etc/supervisord.conf
|
|
fi
|
|
|
|
if [ "$USE_DDTRACE" = "true" ]; then
|
|
export DD_TRACE_OPENAI_ENABLED="False"
|
|
exec ddtrace-run litellm "$@"
|
|
elif [ "$USE_NEWRELIC" = "true" ]; then
|
|
exec newrelic-admin run-program litellm "$@"
|
|
else
|
|
exec litellm "$@"
|
|
fi
|