lloyal-agents API Reference
    Preparing search index...

    Interface ParseChatOutputOptions

    Options for parsing chat output

    All fields are optional. For correct parsing, pass through the corresponding fields from FormattedChatResult.

    interface ParseChatOutputOptions {
        isPartial?: boolean;
        parser?: string;
        reasoningFormat?: ReasoningFormat;
        thinkingForcedOpen?: boolean;
    }
    Index

    Properties

    isPartial?: boolean

    True if output is incomplete (streaming). When true, the parser tolerates unterminated tool calls and open thinking blocks, returning partial content as-is rather than treating them as parse errors.

    parser?: string

    PEG parser definition for PEG format models (from FormattedChatResult.parser)

    reasoningFormat?: ReasoningFormat

    Reasoning format (from FormattedChatResult.reasoningFormat)

    thinkingForcedOpen?: boolean

    Whether thinking tag was forced open (from FormattedChatResult.thinkingForcedOpen)