Class RoundtripCardComponent
java.lang.Object
ai.mindconnect.adminui.ui.component.RoundtripCardComponent
- All Implemented Interfaces:
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 Summary
ConstructorsConstructorDescriptionRoundtripCardComponent(int globalIdx, ai.mindconnect.agent.domain.LlmCallTrace trace, Map<String, ai.mindconnect.message.domain.Message> resultsByCallId) -
Method Summary
-
Constructor Details
-
RoundtripCardComponent
-
-
Method Details
-
id
Description copied from interface:UiComponentThe DOM id this component renders with. Patch operations targeting this component (REPLACE / CLEAR / REMOVE) use this id, so it must match the id on the rootUiNodereturned byUiComponent.render().- Specified by:
idin interfaceUiComponent
-
render
public ai.mindconnect.ui.model.UiSection render()Description copied from interface:UiComponentFull render — emit the component as aUiNode. Used both inside a page's full render and as the payload of a REPLACE patch.- Specified by:
renderin interfaceUiComponent
-