← Về thư mục
frontend/src/features/messages/open.ts
- callLane · function · L114-L118 — function callLane(name: string, ...args: unknown[]): unknown
- hideCancel · function · L120-L127 — function hideCancel(): void
- resetSessionScoped · function · L129-L187 — function resetSessionScoped(): void
- incomplete · function · L189-L191 — incomplete = (): HistoryLoadResult
- obsolete · function · L192-L192 — obsolete = (): HistoryLoadResult
- current · function · L193-L193 — current = (fid: string, gen: number): boolean
- fetchSteps · function · L195-L206 — async function fetchSteps(fid: string): Promise>>
- fetchRunState · function · L207-L215 — async function fetchRunState(fid: string): Promise<{ running: boolean; status?: string }>
- readError · function · L216-L225 — function readError(error: unknown, fallback = "history.networkFailed"): string
- removeEmptyHistoryDecoration · function · L228-L230 — function removeEmptyHistoryDecoration(): void
- loadHistory · function · L233-L389 — async function loadHistory(fid: string, gen: number): Promise
- unchanged · function · L242-L243 — unchanged = (): boolean
- orphanedStream · function · L273-L273 — orphanedStream = (): boolean
- busy · function · L274-L274 — busy = (): boolean
- retireOrphanedStream · function · L281-L286 — retireOrphanedStream = (): void
- idle · function · L397-L397 — idle = (): boolean
- alignHistoryAfterTurn · function · L400-L404 — function alignHistoryAfterTurn(fid: string, gen = _openGen.value): void
- recoverConversation · function · L407-L443 — function recoverConversation(fid: string, gen = _openGen.value): Promise
- openConversation · function · L446-L542 — async function openConversation( fid: string, pid?: string | null, options?: { resetHistory?: boolean }, ): Promise