% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/postprocess__process_outputs.R
\name{extract_search_tiers}
\alias{extract_search_tiers}
\title{Extract Search Tier Information}
\usage{
extract_search_tiers(text)
}
\arguments{
\item{text}{Structured JSON trace (asa_trace_v1)}
}
\value{
Character vector of unique tier names encountered
  (e.g., "primp", "selenium", "ddgs", "requests")
}
\description{
Extracts which search tier was used from the agent trace.
The search module uses a multi-tier fallback system:
\itemize{
  \item primp: Fast HTTP client with browser impersonation (Tier 0)
  \item selenium: Headless browser for JS-rendered content (Tier 1)
  \item ddgs: Standard DDGS Python library (Tier 2)
  \item requests: Raw POST to DuckDuckGo HTML endpoint (Tier 3)
}
}
\examples{
\dontrun{
tiers <- extract_search_tiers(response$trace)
print(tiers)  # e.g., "primp"
}

}
