LiteLLM supports the OpenAI client, allowing you to use the
openai-generic provider with an
overridden base_url.
See OpenAI Generic for more details about parameters.
Set up LiteLLM Proxy server
Set up LiteLLM Client in BAML files
Use it in a BAML function!