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( 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