% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/infra__runtime_config.R
\name{.with_search_config}
\alias{.with_search_config}
\title{Apply Search Configuration for a Single Operation}
\usage{
.with_search_config(search, conda_env = NULL, agent = NULL, fn)
}
\arguments{
\item{search}{asa_search object or list of search settings}

\item{conda_env}{Conda env used by search tools}

\item{agent}{Optional asa_agent used to apply per-wrapper search config}

\item{fn}{Function to run with search config applied}
}
\value{
Result of fn()
}
\description{
Internal helper that applies search settings, runs a function,
and restores the original configuration afterward.
}
\keyword{internal}
