Skip to content

The fastest, litest AI Gateway. Rust core with Python SDK. Call 100+ LLM APIs in OpenAI (or native) format with cost tracking, guardrails, load balancing, and logging [Bedrock, Azure, OpenAI, Anthropic, OpenAI, VertexAI, vLLM, Nvidia NIM]

324 B
Raw Blame
#!/bin/sh

if [ "$1" = "--admin-agent" ]; then
    shift
    export CONNECTION_AUTH_MODE=native
    exec /opt/liteadmin/bin/litellm-admin-agent --web "$@"
fi

case "$USE_DDTRACE" in
    [Tt][Rr][Uu][Ee])
        export DD_TRACE_OPENAI_ENABLED="False"
        exec ddtrace-run litellm "$@"
        ;;
esac

exec litellm "$@"