Class LlmOptimisationReportService

java.lang.Object
org.mockserver.llm.analysis.LlmOptimisationReportService

public class LlmOptimisationReportService extends Object
Application service that turns captured REQUEST_RESPONSES log entries into an LlmOptimisationReport (JSON bundle) or a rendered Markdown brief, applying the optional session/host/provider filters, redaction, and the mockserver.llmOptimisationMaxCalls bound.

Lives in mockserver-core so both the control-plane REST endpoint and the export_optimisation_report MCP tool (mockserver-netty) share one implementation. Pure of transport: callers pass already-retrieved request/response pairs.