Class RoundtripCardComponent

java.lang.Object
ai.mindconnect.adminui.ui.component.RoundtripCardComponent
All Implemented Interfaces:
UiComponent

public final class RoundtripCardComponent extends Object implements UiComponent
One LLM-call roundtrip rendered as a three-tab card:
  • Response — prose first, then per-tool-call args (json-viewer) followed by the matching persisted tool-result block (collapsible). Errors short-circuit to a code-fenced error body.
  • Request — the verbatim provider request via the json-viewer.
  • Raw SSE — the captured event stream as a markdown code block.

Depth (sub-agent nesting) is rendered as a trace-depth-N CSS class on the card so visual indentation matches the nesting level.

  • Constructor Details

    • RoundtripCardComponent

      public RoundtripCardComponent(int globalIdx, ai.mindconnect.agent.domain.LlmCallTrace trace, Map<String,ai.mindconnect.message.domain.Message> resultsByCallId)
  • Method Details