LastModelRequest
Defined in: _worktrees/docs-release/gaunt-sloth/packages/core/src/core/debugCapture.ts:41
GS2-56 — the always-on snapshot of the LAST model request, kept on
import(‘#src/core/GthAbstractAgent.js’).GthAbstractAgent independent of any
DebugCapture sink. It is the SAME data the sink reports (the as-sent, post-summarization
request.messages plus the DebugRequestExtras), captured unconditionally at each model
call so /debug-dump can render the full model input even when the TUI /debug panel was never
opened and on non-TUI surfaces. Reuses DebugRequestExtras rather than forking a parallel
capture shape; WriteDebugDumpInput.modelRequest is this same type, so the caller threads
agent.lastModelRequest straight through with no reshaping.
Properties
Section titled “Properties”extras?
Section titled “extras?”
optionalextras?:DebugRequestExtras
Defined in: _worktrees/docs-release/gaunt-sloth/packages/core/src/core/debugCapture.ts:43
The request extras (system prompt, tool defs with schema, model params, tool-choice).
messages?
Section titled “messages?”
optionalmessages?:BaseMessage<MessageStructure<MessageToolSet>,MessageType>[]
Defined in: _worktrees/docs-release/gaunt-sloth/packages/core/src/core/debugCapture.ts:45
The exact messages sent to the model for the last call (post-summarization / middleware).