Skip to content

extractDebugRequestExtras

extractDebugRequestExtras(request): DebugRequestExtras | undefined

Defined in: _worktrees/docs-release/gaunt-sloth/packages/core/dist/core/debugCapture.d.ts:75

Assemble the non-message request parts (DebugRequestExtras) for the /debug panel from a wrapModelCall request, defensively and key-free. Never throws (the caller already guards, but a debug sink must never break a run) and never dumps the raw model. Shared by both the lean (import(‘#src/core/GthLangChainAgent.js’).GthLangChainAgent) and deep backends so the panel behaves identically on either.

unknown

DebugRequestExtras | undefined