% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/vlm-validate.R
\name{strip_code_fence}
\alias{strip_code_fence}
\title{Strip surrounding code fences from a model response}
\usage{
strip_code_fence(text)
}
\description{
Some models wrap JSON output in \code{```json ... ```} fences
despite being told not to. This helper removes a single leading
and trailing fence pair if present, leaving the inner content.
}
\keyword{internal}
