Merge pull request #2368 from pipecat-ai/aleix/release-evals-runner-args-fix
pass runner arguments to release evals
This commit is contained in:
@@ -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(
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user