featherbit UI
    Preparing search index...

    Function TraceHeader

    • Compact header describing a trace, shown above the viewer.

      Parameters

      • __namedParameters: {
            onAskAgent?: () => void;
            onCopyPrompt?: () => void;
            onCopyToSandbox?: () => void;
            trace: TraceDetail;
        }
        • OptionalonAskAgent?: () => void

          When set, shows the primary "Troubleshoot with AI" button that opens the chat seeded with this trace.

        • OptionalonCopyPrompt?: () => void

          When set, shows a secondary "Copy prompt" button (the troubleshooting prompt, for an external agent).

        • OptionalonCopyToSandbox?: () => void

          When set, shows a button that replays this trace's request in the sandbox.

        • trace: TraceDetail

      Returns Element