Skip to content

Commit

Permalink
type: ignore
Browse files Browse the repository at this point in the history
  • Loading branch information
ajar98 committed Jul 10, 2024
1 parent 7e6b80a commit db005c2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion playground/streaming/agent/chat.py
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@ async def sender():
actions_worker = ActionsWorker(
action_factory=agent.action_factory,
)
actions_worker.consumer = agent
actions_worker.consumer = agent # type: ignore
agent.actions_consumer = actions_worker
actions_worker.pipeline = agent.streaming_conversation
actions_worker.start()
Expand Down
4 changes: 2 additions & 2 deletions vocode/streaming/streaming_conversation.py
Original file line number Diff line number Diff line change
Expand Up @@ -623,7 +623,7 @@ def __init__(
self.transcriber.consumer = self.transcriptions_worker

# Agent
self.transcriptions_worker.consumer = self.agent
self.transcriptions_worker.consumer = self.agent # type: ignore
self.agent.set_interruptible_event_factory(self.interruptible_event_factory)
self.agent.streaming_conversation = self

Expand All @@ -642,7 +642,7 @@ def __init__(
interruptible_event_factory=self.interruptible_event_factory,
)
self.actions_worker.pipeline = self
self.actions_worker.consumer = self.agent
self.actions_worker.consumer = self.agent # type: ignore
self.agent.actions_consumer = self.actions_worker

# Synthesis Results Worker
Expand Down

0 comments on commit db005c2

Please sign in to comment.