ReceiptParams
Interface: ReceiptParams
Defined in: src/lib/time-travel/receipt.ts:259
The sampling knobs the call went out with — scalars and short strings, no bytes, no privacy change.
They decide the answer as surely as the prompt does: the same context at
temperature: 0 and at 1.2 is a different call, and "why did this turn
ramble?" is unanswerable from a record that kept the prompt and dropped the
dial.
READ OFF THE PREPARED REQUEST — the object the port is handed, after the
cache strategy has had it. This is the one part of a receipt that describes
the post-strategy request rather than the pre-strategy one, and deliberately
so: a strategy holds the whole composed request and can move a dial, and
params claims in this very docstring to be what the PORT got.
servedView.ts · SERVED_GAPS says the same from the other side —
cache-transform names every field the log rebuilds pre-strategy, and
params is not among them.
PORT VALUES ONLY — see RECEIPT_BOUNDARY. An unset maxTokens may
still become the model's own maximum inside a vendor SDK, and the receipt
records that the library sent nothing, never what the vendor decided.
Example
compare the dial two turns went out on
import { receiptAt } from 'agentfootprint';
const snapshot = agent.getSnapshot()!;
receiptAt(snapshot, 1)?.params.temperature; // 0.25
receiptAt(snapshot, 2)?.params.temperature; // 0.25 — the dial did not move
receiptAt(snapshot, 1)?.params.stop; // undefined: none was sentProperties
maxTokens?
readonlyoptionalmaxTokens?:number
Defined in: src/lib/time-travel/receipt.ts:261
stop?
readonlyoptionalstop?: readonlystring[]
Defined in: src/lib/time-travel/receipt.ts:264
temperature?
readonlyoptionaltemperature?:number
Defined in: src/lib/time-travel/receipt.ts:260
thinkingBudget?
readonlyoptionalthinkingBudget?:number
Defined in: src/lib/time-travel/receipt.ts:263
LLMRequest.thinking.budget — the reasoning-token ceiling asked for.
toolChoice?
readonlyoptionaltoolChoice?:object
Defined in: src/lib/time-travel/receipt.ts:266
The forced tool choice, as the port carried it.
name?
readonlyoptionalname?:string
type
readonlytype:string
