ReasoningRun

Unpublished development API. This package is under development and is not available as a published release.

The reasoning of one agent turn. A turn that reasons, calls a tool and reasons again produces several assistant messages; this joins their reasoning so a transcript can show it once.

import type { ReasoningRun } from '@threadplane/content/messages';

Declaration

export interface ReasoningRun  {
  readonly durationMs?: number;
  readonly snapshot: MarkdownSnapshot;
  readonly steps: number;
}

Members

durationMs

The measured durations added up; absent when no step reported one.

readonly durationMs?: number;

snapshot

The steps' reasoning in order, separated by blank lines.

readonly snapshot: MarkdownSnapshot;

steps

How many assistant messages contributed reasoning.

readonly steps: number;