From f14cbae9b5d1c2192c80f2e75b679b5633094e9a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Aleix=20Conchillo=20Flaqu=C3=A9?= Date: Tue, 5 Aug 2025 15:46:12 -0700 Subject: [PATCH 1/2] DailyRunnerArguments: make token optional DailyTransport can get a None token value. --- src/pipecat/runner/types.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/pipecat/runner/types.py b/src/pipecat/runner/types.py index 33bf3b160..95048817e 100644 --- a/src/pipecat/runner/types.py +++ b/src/pipecat/runner/types.py @@ -11,7 +11,7 @@ information to bot functions. """ from dataclasses import dataclass, field -from typing import Any +from typing import Any, Optional from fastapi import WebSocket @@ -39,7 +39,7 @@ class DailyRunnerArguments(RunnerArguments): """ room_url: str - token: str + token: Optional[str] body: Any From 52a6d8013c8cdb92a4f2169566914ced50aea1ba Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Aleix=20Conchillo=20Flaqu=C3=A9?= Date: Tue, 5 Aug 2025 15:47:05 -0700 Subject: [PATCH 2/2] scripts(evals): pass runner arguments to run_bot() --- scripts/evals/eval.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/evals/eval.py b/scripts/evals/eval.py index fba701f9c..665595442 100644 --- a/scripts/evals/eval.py +++ b/scripts/evals/eval.py @@ -37,6 +37,7 @@ from pipecat.pipeline.task import PipelineParams, PipelineTask from pipecat.processors.aggregators.openai_llm_context import OpenAILLMContext from pipecat.processors.audio.audio_buffer_processor import AudioBufferProcessor from pipecat.processors.frame_processor import FrameDirection +from pipecat.runner.types import RunnerArguments from pipecat.services.cartesia.tts import CartesiaTTSService from pipecat.services.deepgram.stt import DeepgramSTTService from pipecat.services.llm_service import FunctionCallParams @@ -176,7 +177,7 @@ async def run_example_pipeline(script_path: Path): ), ) - await module.run_bot(transport) + await module.run_bot(transport, RunnerArguments()) async def run_eval_pipeline(