mirror of
https://github.com/openai/codex.git
synced 2026-11-20 22:40:37 +00:00
Make default environment lookup infallible
Return concrete default and local environments from EnvironmentManager now that the manager always installs local and default entries. Keep arbitrary ID lookup optional. Co-authored-by: Codex <noreply@openai.com>
This commit is contained in:
@@ -2006,7 +2006,7 @@ mod tests {
|
||||
runtime_args
|
||||
.environment_manager
|
||||
.default_environment()
|
||||
.is_some_and(|environment| environment.is_remote())
|
||||
.is_remote()
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user