LiteLLM / entrypoint.sh
chieh2's picture
initial commit
03bc221 unverified
raw
history blame
314 Bytes
#!/bin/sh
if [ -n "$MODEL_CONFIG_URL" ]; then
curl -L -o /config/model_config.yaml "$MODEL_CONFIG_URL"
#echo "Downloaded model config from $MODEL_CONFIG_URL"
fi
if [ "$USE_DDTRACE" = "true" ]; then
export DD_TRACE_OPENAI_ENABLED="False"
exec ddtrace-run litellm "$@"
else
exec litellm "$@"
fi