Mixins / foldkit-mixins-ui

ThinkingStep

interface · packages/mixins-ui/src/thinkingSteps.ts:54

interface ThinkingStep {
  readonly id: string
  readonly title: string
  readonly state: StepState
  readonly duration?: number | undefined
  readonly icon?: Html | undefined
  readonly detail?: Html | string | undefined
  readonly steps?: ReadonlyArray<ThinkingStep> | undefined
}

Members

ThinkingStep.id

property · packages/mixins-ui/src/thinkingSteps.ts:56

readonly id: string

Unique within the trace, and part of its elements' ids.

ThinkingStep.title

property · packages/mixins-ui/src/thinkingSteps.ts:57

readonly title: string

ThinkingStep.state

property · packages/mixins-ui/src/thinkingSteps.ts:58

readonly state: StepState

ThinkingStep.duration

property · packages/mixins-ui/src/thinkingSteps.ts:60

readonly duration?: number | undefined

How long it took, in milliseconds.

ThinkingStep.icon

property · packages/mixins-ui/src/thinkingSteps.ts:62

readonly icon?: Html | undefined

Drawn in the marker in place of the state's mark; the state still tints it.

ThinkingStep.detail

property · packages/mixins-ui/src/thinkingSteps.ts:64

readonly detail?: Html | string | undefined

What it found or did: a tool call's input and output, a passage of reasoning.

ThinkingStep.steps

property · packages/mixins-ui/src/thinkingSteps.ts:65

readonly steps?: ReadonlyArray<ThinkingStep> | undefined