From 2a36dd7376bbfdd1dfcd761921ec5aba0a7d2321 Mon Sep 17 00:00:00 2001 From: Salman Paracha Date: Wed, 28 Jan 2026 18:55:35 -0800 Subject: [PATCH] fixing the build scripts for documentation (#711) Co-authored-by: Salman Paracha --- docs/build_docs.sh | 2 ++ docs/source/concepts/llm_providers/supported_providers.rst | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/docs/build_docs.sh b/docs/build_docs.sh index 88d2802a..a4488b14 100644 --- a/docs/build_docs.sh +++ b/docs/build_docs.sh @@ -2,6 +2,8 @@ docker build -f docs/Dockerfile . -t sphinx # Clean build output locally rm -rf docs/build +mkdir -p docs/build +chmod -R 777 docs/build # Run make clean/html while keeping provider_models.yaml from the image docker run --user $(id -u):$(id -g) --rm \ diff --git a/docs/source/concepts/llm_providers/supported_providers.rst b/docs/source/concepts/llm_providers/supported_providers.rst index f3f77b5f..4ad89931 100644 --- a/docs/source/concepts/llm_providers/supported_providers.rst +++ b/docs/source/concepts/llm_providers/supported_providers.rst @@ -737,7 +737,7 @@ Automatically configure all available models from a provider using wildcard patt - Expands at config load time to all models in Plano's provider registry - Creates entries for both canonical (``openai/gpt-4``) and short names (``gpt-4``) - - Enables the ``/v1/models`` endpoint to list all available models + - Enables the ``/models/list`` endpoint to list all available models - **View complete model list**: `provider_models.yaml <../../includes/provider_models.yaml>`_ 2. **Unknown/Custom Providers** (e.g., ``custom-provider/*``): @@ -745,7 +745,7 @@ Automatically configure all available models from a provider using wildcard patt - Stores as a wildcard pattern for runtime matching - Requires ``base_url`` and ``provider_interface`` configuration - Matches model requests dynamically (e.g., ``custom-provider/any-model-name``) - - Does not appear in ``/v1/models`` endpoint + - Does not appear in ``/models/list`` endpoint **Overriding Wildcard Models:**