Module Deep Dive (Debug Map)¶
Use this page when you are debugging a production issue.
Follow the Frame¶
- Transport: Did audio frames arrive with
stream_id? - STT: Did final transcripts emit
is_final=true? - Router/Context: Did
agentorglobal_*appear? - LLM: Did
thinking_startor output frames appear? - Tools: Did
tool_callandtool_resultappear? - TTS: Did audio frames go back to transport?
- Turn: Did
flushandcancelfire on barge‑in?
Where to Look in Code¶
- Frame contract:
pkg/frames - Pipeline:
pkg/pipeline - Turn logic:
pkg/turn - LLM + tools:
pkg/processors/llm.go,pkg/ranya/dispatcher.go - Observability:
pkg/metrics,pkg/observers