PipelineTask: force constructor keyword arguments

This commit is contained in:
Aleix Conchillo Flaqué
2025-02-25 17:56:01 -08:00
parent 66564392a6
commit 6722aae598
95 changed files with 140 additions and 98 deletions

View File

@@ -85,7 +85,13 @@ async def main():
]
)
task = PipelineTask(pipeline, PipelineParams(allow_interruptions=True, enable_metrics=True))
task = PipelineTask(
pipeline,
params=PipelineParams(
allow_interruptions=True,
enable_metrics=True,
),
)
# When a participant joins, start transcription for that participant so the
# bot can "hear" and respond to them.