Skip to content

dominantModel

dominantModel(u): string | null

Defined in: src/usage.ts:155

The real model that produced the most tokens in this usage, or null when none was named. A reviewer session is effectively one model, so this resolves its TRUE model from the transcript — used to backfill the spawn row whose configured model was “auto” (null). Skips parseLine’s “unknown” sentinel (an assistant record with no model field) so the sentinel can never overwrite a recorded model; “unknown”-only / empty usage → null.

SessionUsage

string | null