mirror of
https://github.com/openai/codex.git
synced 2026-10-21 07:42:01 +00:00
Fix active-turn environment selection lookup (#46557)
Read `initial_environments` in `active_turn_environment_selections` to return the environment selections captured at turn start. GitOrigin-RevId: 445b52508733ef971eb6d2d7eea2b2f019542d5f
This commit is contained in:
@@ -528,7 +528,7 @@ impl CodexThread {
|
||||
let task = active.as_ref()?.task.as_ref()?;
|
||||
Some(
|
||||
task.turn_context
|
||||
.environments
|
||||
.initial_environments
|
||||
.environments
|
||||
.iter()
|
||||
.map(|environment| match environment {
|
||||
|
||||
Reference in New Issue
Block a user