% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/api_openai.R
\name{openai_fetch_research}
\alias{openai_fetch_research}
\title{Fetch Results from a Completed OpenAI Deep Research Job}
\usage{
openai_fetch_research(.job, .max_tries = 3)
}
\arguments{
\item{.job}{A \code{tidyllm_research_job} object. If not yet completed, polls once via
\code{openai_check_research()} and errors if still incomplete.}

\item{.max_tries}{Maximum retries per HTTP request (default: \code{3}).}
}
\value{
An updated \code{LLMMessage} with the research reply appended.
}
\description{
Extracts the assistant reply from a completed \code{tidyllm_research_job} returned
by \code{openai_deep_research(.background = TRUE)}.
}
