Documentation
    Preparing search index...

    Interface MockLlmAnswer

    A derived answer before streaming: its parts, flat text and finish reason.

    const answer: MockLlmAnswer = { text: 'Hi', parts: [{ type: 'text', text: 'Hi' }], finish: 'stop' };
    
    interface MockLlmAnswer {
        finish: MockLlmFinish;
        parts: MockLlmPart[];
        text: string;
    }
    Index

    Properties

    Properties

    Finish reason.

    parts: MockLlmPart[]

    Content parts for the pr138 content list.

    text: string

    Flat text (empty for a tool call).