CrewAI Guardrails output issue

I am getting this error while running the guardrails

Failed to parse output into response format: 1 validation error for LLMGuardrailResult
  Invalid JSON: trailing characters at line 6 column 1 [type=json_invalid, input_value='{\n  "valid":       
true,\n  "...any prohibited content.', input_type=str]
    For further information visit https://errors.pydantic.dev/2.12/v/json_invalid     

I found that the guardrails is supposed to output in the following way:

{
    "valid": bool,
    "feedback": str
}

I can see in the error output that my “valid” : True, but there is still some error. Is it because the llm I am using is not able to follow the instructions properly and it is not able to output in the correct format as expected by the guardrails?

Which LLM are you using? Are you able to try another one, such as GPT-5.2?