Skip to main content

AiSessionLineage

type
type AiSessionLineage = { readonly kind: 'root'; } | { readonly kind: 'fork'; readonly depth: number; readonly forkedAt: string; readonly parentTurnOrdinal: number; readonly parentRunnerId: AiRunnerId; readonly parentSessionId: SessionId; readonly parentUserMessageId?: string; } | { readonly kind: 'spawn'; readonly spawnedAt: string; readonly depth: number; readonly parentSessionId: SessionId; readonly parentChatUri: string; readonly trigger: AiSpawnTrigger; readonly label: string; }

Import

import { AiSessionLineage } from '@modular/sdk';