kimi-code / packages /transcript /src /model /interaction.ts
SaylorTwift's picture
SaylorTwift HF Staff
Add files using upload-large-folder tool
4e23b01 verified
Raw
History Blame Contribute Delete
483 Bytes
import type { InteractionId } from './ids';
export type InteractionKind = 'approval' | 'question';
export type InteractionState =
| 'pending'
| 'approved'
| 'rejected'
| 'cancelled'
| 'answered'
| 'dismissed';
export interface TranscriptInteraction {
readonly interactionId: InteractionId;
readonly interactionKind: InteractionKind;
readonly toolCallId?: string;
readonly state: InteractionState;
readonly request?: unknown;
readonly response?: unknown;
}