GuardReport#
- class ansys.fluent.mcp.solve.lib.intent_guard.GuardReport#
Collection of findings for a snippet.
Overview#
Render the report as the |
Whether the report contains any blocking finding. |
Import detail#
from ansys.fluent.mcp.solve.lib.intent_guard import GuardReport
Property detail#
Attribute detail#
- GuardReport.findings: list[GuardFinding] = []#
Method detail#
- GuardReport.to_run_code_result() ansys.fluent.mcp.common.models.RunCodeResult#
Render the report as the
RunCodeResultcallers expect.Only invoked when at least one BLOCK-level finding is present. Sequence-error findings produce
error_code="sequence_error"; every other block produceserror_code="risk_blocked".- Returns:
RunCodeResultError result containing the blocking findings and guard-specific
error_codevalue.