pub async fn submit_one_shot(
request: OneShotRequest<'_>,
) -> Result<AgentResponse, String>Expand description
Executes one isolated prompt and returns the parsed response.
ยงErrors
Returns an error when command construction fails, process execution fails, or the final output is empty or otherwise unusable.