Skip to content

Type Alias: FrameMode

@kortexya/reasoninglayer


@kortexya/reasoninglayer / FrameMode

FrameMode = "frame" | "ambiguous" | "inconsistent" | "fallback_unsupported" | "fallback_outside_fragment" | "fallback_invalid"

Defined in: src/types/conversation.ts:123

How frame mode handled a turn.

  • frame — a frame was validated, resolved, lowered and executed.
  • ambiguous — a mention denotes several stored values; the turn asks the user to choose (see frameAmbiguities).
  • inconsistent — the described thing cannot exist (the description is bottom); nothing was executed.
  • fallback_unsupported — the model adapter takes no JSON schema; the text path answered.
  • fallback_outside_fragment — the model said the question needs more than a frame can say; the text path answered.
  • fallback_invalid — no valid frame after one grounded retry; the text path answered.