From 248fb126ffcafaa38cfddc40aaae284bde030ec6 Mon Sep 17 00:00:00 2001 From: Mendon Kissling <59585235+mendonk@users.noreply.github.com> Date: Wed, 14 May 2025 14:08:49 -0400 Subject: [PATCH] fix: api docs build failures caused by variables in descriptions (#8002) * chat * endpoints --- src/backend/base/langflow/api/v1/chat.py | 2 +- src/backend/base/langflow/api/v1/endpoints.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/backend/base/langflow/api/v1/chat.py b/src/backend/base/langflow/api/v1/chat.py index 2c9c7346f1..f1b617944e 100644 --- a/src/backend/base/langflow/api/v1/chat.py +++ b/src/backend/base/langflow/api/v1/chat.py @@ -158,7 +158,7 @@ async def build_flow( """Build and process a flow, returning a job ID for event polling. This endpoint requires authentication through the CurrentActiveUser dependency. - For public flows that don't require authentication, use the /build_public_tmp/{flow_id}/flow endpoint. + For public flows that don't require authentication, use the /build_public_tmp/flow_id/flow endpoint. Args: flow_id: UUID of the flow to build diff --git a/src/backend/base/langflow/api/v1/endpoints.py b/src/backend/base/langflow/api/v1/endpoints.py index 8de2cfc84c..ba6cf08348 100644 --- a/src/backend/base/langflow/api/v1/endpoints.py +++ b/src/backend/base/langflow/api/v1/endpoints.py @@ -508,7 +508,7 @@ async def experimental_run_flow( ### Example usage: ```json - POST /run/{flow_id} + POST /run/flow_id x-api-key: YOUR_API_KEY Payload: {