ver0.1
This commit is contained in:
@@ -98,7 +98,18 @@ def build_container(
|
||||
voice_confirmation=voice,
|
||||
session_factory=sf,
|
||||
)
|
||||
voice_hub = VoiceTerminalHub(s)
|
||||
voice_hub = VoiceTerminalHub(
|
||||
s,
|
||||
pending_head_fetcher=pipeline.get_pending_confirmation_for_client,
|
||||
)
|
||||
|
||||
async def _on_pending_queue_advanced(surgery_id: str) -> None:
|
||||
tid = camera_mgr.get_voice_terminal_id_if_active(surgery_id)
|
||||
if tid:
|
||||
voice_hub.schedule_notify_pending_head(tid, surgery_id)
|
||||
|
||||
voice.set_on_pending_queue_advanced(_on_pending_queue_advanced)
|
||||
camera_mgr.set_voice_terminal_hub(voice_hub)
|
||||
return AppContainer(
|
||||
settings=s,
|
||||
consumable_vision_algorithm_service=vision,
|
||||
|
||||
Reference in New Issue
Block a user