From 5ee4886896c818618f79577d0edfde2fd56c12cc Mon Sep 17 00:00:00 2001 From: VC Date: Wed, 20 May 2026 18:37:48 -0400 Subject: [PATCH] docs: add Tuning Engines LiteLLM config --- README.md | 11 +++++++++++ docs/installation_and_configuration.rst | 12 +++++++++++- 2 files changed, 22 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 57864c01a..da8123360 100644 --- a/README.md +++ b/README.md @@ -189,6 +189,17 @@ More details can be found in the [development setup](https://rdagent.readthedocs OPENAI_API_KEY= ``` + *Configuration Example: `Tuning Engines` Setup :* + + ```bash + cat << EOF > .env + # Route chat and embedding calls through the Tuning Engines OpenAI-compatible endpoint. + CHAT_MODEL=openai/ + EMBEDDING_MODEL=openai/ + OPENAI_API_BASE=https://api.tuningengines.com/v1 + OPENAI_API_KEY= + ``` + *Configuration Example: `Azure OpenAI` Setup :* > Before using this configuration, please confirm in advance that your `Azure OpenAI API key` supports `embedded models`. diff --git a/docs/installation_and_configuration.rst b/docs/installation_and_configuration.rst index 4683ee89d..0ecaed5cc 100644 --- a/docs/installation_and_configuration.rst +++ b/docs/installation_and_configuration.rst @@ -32,6 +32,17 @@ Option 1: Unified API base for both models OPENAI_API_BASE= OPENAI_API_KEY= +Configuration Example: Tuning Engines Setup +------------------------------------------- + + .. code-block:: Properties + + # Route chat and embedding calls through the Tuning Engines OpenAI-compatible endpoint. + CHAT_MODEL=openai/ + EMBEDDING_MODEL=openai/ + OPENAI_API_BASE=https://api.tuningengines.com/v1 + OPENAI_API_KEY= + Option 2: Separate API bases for Chat and Embedding models ---------------------------------------------------------- @@ -443,4 +454,3 @@ However, this feature is not enabled by default for other scripts. We recommend export $(grep -v '^#' .env | xargs) - If you want to change the default environment variables, you can refer to the above configuration and edith the `.env` file. -