OptionalonAskAgent?: () => voidWhen set, shows the primary "Troubleshoot with AI" button that opens the chat seeded with this trace.
OptionalonCopyPrompt?: () => voidWhen set, shows a secondary "Copy prompt" button (the troubleshooting prompt, for an external agent).
OptionalonCopyToSandbox?: () => voidWhen set, shows a button that replays this trace's request in the sandbox.
Compact header describing a trace, shown above the viewer.