mirror of
https://github.com/openai/codex.git
synced 2026-10-29 19:08:43 +00:00
R6
This commit is contained in:
@@ -92,11 +92,12 @@ pub(crate) async fn run_create(
|
||||
};
|
||||
|
||||
if let Some(objective) = args.objective {
|
||||
let mut options = RunExecutionOptions::default();
|
||||
options.objective = Some(objective);
|
||||
let timeout = Duration::from_secs(args.timeout_secs);
|
||||
options.director_timeout = timeout;
|
||||
options.verifier_timeout = timeout;
|
||||
let options = RunExecutionOptions {
|
||||
objective: Some(objective),
|
||||
director_timeout: timeout,
|
||||
verifier_timeout: timeout,
|
||||
};
|
||||
|
||||
let start = Instant::now();
|
||||
let start_header = format!("Starting run {run_id}");
|
||||
|
||||
Reference in New Issue
Block a user