FreakingGenius - v0.1.0
    Preparing search index...

    Interface ResponseContext

    Snapshot of the session state provided to the response generator so it can tailor its output to the student's current situation.

    interface ResponseContext {
        conversationHistory: { role: "tutor" | "student"; text: string }[];
        interventionHint?: string;
        session: Session;
        transcript: string;
    }
    Index

    Properties

    conversationHistory: { role: "tutor" | "student"; text: string }[]

    Recent tutor responses to maintain conversational continuity (latest last).

    interventionHint?: string

    Optional structured hint from InterventionEngine.

    session: Session

    The active session, including config and checkpoints.

    transcript: string

    The student's transcribed utterance (may be an empty string for proactive hints).