Fix type errors in turns and add to pyright checked set

Widen base strategy process_frame return types to ProcessFrameResult |
None to match actual behavior (None treated as CONTINUE). Give
UserTurnCompletionLLMServiceMixin a FrameProcessor base class so pyright
can see create_task, cancel_task, process_frame, and push_frame.
This commit is contained in:
Mark Backman
2026-04-16 21:33:43 -04:00
parent 36319ecbf0
commit 3127cc6161
4 changed files with 10 additions and 9 deletions

View File

@@ -8,7 +8,8 @@
"src/pipecat/transcriptions",
"src/pipecat/frames",
"src/pipecat/observers",
"src/pipecat/extensions"
"src/pipecat/extensions",
"src/pipecat/turns"
],
"exclude": [
"**/*_pb2.py",