↓ 2 callersFunctionattachThread(
sessionId: string,
agentId: string,
threadId: string,
onStreamEnd?: () => void,
resumeAttempt = 0,
dashboard/src/pages/Chat/hooks/chatStore.ts:1582
↓ 2 callersFunctionbuild_dashboard_inbound(
*,
agent_id: str,
user_id: int,
prepared: PreparedDashboardTurn,
turn: ChatTurnBody,
src/octop/api/routers/chat/turn.py:306