+
    ~j                        ^ RI Ht ^ RIt^ RIHtHt ^ RIHtHt  ! R R]4      t	]
]]R,          3,          t ! R R]]	4      tR# )	    )annotationsN)ABCabstractmethod)ClassVarProtocolc                  "    ] tR t^t$ R]R&   RtR# )_RunnerMetazClassVar[str]INFERENCE_METHOD N)__name__
__module____qualname____firstlineno____annotations____static_attributes__r       t/Users/mitch_tango/dev/rabbit-r1-livekit/agent/.venv/lib/python3.14/site-packages/livekit/agents/inference_runner.pyr	   r	      s    ##r   r	   _InferenceRunnerc                  h    ] tR t^t$ / tR]R&   ]R R l4       t]R R l4       t	]R R l4       t
R	tR
# )r   _RunnersDictregistered_runnersc                    V ^8  d   QhRRRR/# )   runner_classztype[_InferenceRunner]returnNoner   )formats   "r   __annotate___InferenceRunner.__annotate__   s     M M+A Md Mr   c                	   \         P                  ! 4       \         P                  ! 4       8w  d   \        R 4      hVP                  V P
                  9   d   \        RVP                   R24      hWP
                  VP                  &   R# )z5InferenceRunner must be registered on the main threadzInferenceRunner z already registeredN)	threadingcurrent_threadmain_threadRuntimeErrorr
   r   
ValueError)clsr   s   &&r   register_runner _InferenceRunner.register_runner   sm    ##%)>)>)@@VWW((C,B,BB/0M0M/NNabcc@L|<<=r   c                   V ^8  d   QhRR/# )r   r   r   r   )r   s   "r   r   r      s      D r   c                    R# )z8Initialize the runner. This is used to load models, etc.Nr   )selfs   &r   
initialize_InferenceRunner.initialize        	r   c                    V ^8  d   QhRRRR/# )r   databytesr   zbytes | Noner   )r   s   "r   r   r   #   s       , r   c                    R# )z Run inference on the given data.Nr   )r+   r0   s   &&r   run_InferenceRunner.run"   r.   r   r   N)r   r   r   r   r   r   classmethodr'   r   r,   r3   r   r   r   r   r   r      sI    '))M M    r   )
__future__r   r!   abcr   r   typingr   r   r	   dictstrtyper   r   r   r   r   <module>r<      sB    "  # %$( $ C0112sK r   