From 061de9cbaf03994f130060f04d5fe33cd58e1325 Mon Sep 17 00:00:00 2001 From: Mark Backman Date: Mon, 28 Jul 2025 09:08:45 -0400 Subject: [PATCH] Fix docstring parsing --- docs/api/conf.py | 6 ++++++ docs/api/requirements.txt | 1 + src/pipecat/runner/cloud.py | 2 ++ src/pipecat/runner/local.py | 2 ++ 4 files changed, 11 insertions(+) diff --git a/docs/api/conf.py b/docs/api/conf.py index aca7fd923..0e7dbb733 100644 --- a/docs/api/conf.py +++ b/docs/api/conf.py @@ -179,6 +179,11 @@ autodoc_mock_imports = [ "google.protobuf.runtime_version", "google.protobuf.symbol_database", "google.protobuf.internal.builder", + # Runner + "pipecat_ai_small_webrtc_prebuilt", + "pipecat_ai_small_webrtc_prebuilt.frontend", + "uvicorn", + "python_dotenv", ] # HTML output settings @@ -202,6 +207,7 @@ def import_core_modules(): "pipecat.clocks", "pipecat.metrics", "pipecat.observers", + "pipecat.runner", "pipecat.serializers", "pipecat.sync", "pipecat.transcriptions", diff --git a/docs/api/requirements.txt b/docs/api/requirements.txt index 95e8bc451..6dbd85b94 100644 --- a/docs/api/requirements.txt +++ b/docs/api/requirements.txt @@ -41,6 +41,7 @@ pipecat-ai[noisereduce] pipecat-ai[openai] # pipecat-ai[openpipe] # pipecat-ai[playht] # Mocked due to grpcio conflict with riva +pipecat-ai[pipecatcloud] pipecat-ai[qwen] pipecat-ai[remote-smart-turn] # pipecat-ai[riva] # Mocked diff --git a/src/pipecat/runner/cloud.py b/src/pipecat/runner/cloud.py index ea15bf7f6..4131b94e8 100644 --- a/src/pipecat/runner/cloud.py +++ b/src/pipecat/runner/cloud.py @@ -344,6 +344,8 @@ def main(): any bot() function found in the current directory. Command-line arguments: + + Args: --host: Server host address (default: localhost) --port: Server port (default: 7860) -t/--transport: Transport type (daily, webrtc, twilio, telnyx, plivo) diff --git a/src/pipecat/runner/local.py b/src/pipecat/runner/local.py index c10a6363b..9939d5e01 100644 --- a/src/pipecat/runner/local.py +++ b/src/pipecat/runner/local.py @@ -447,6 +447,8 @@ def main( Each factory should return transport-specific parameters when called. Command-line arguments: + + Args: --host: Server host address (default: localhost) --port: Server port (default: 7860) -t/--transport: Transport type (daily, livekit, webrtc, twilio, telnyx, plivo)