File size: 314 Bytes
03bc221
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/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