mirror of
https://github.com/openai/codex.git
synced 2026-04-26 15:45:02 +00:00
Fetch Requirements from cloud (#10167)
Load requirements from Codex Backend. It only does this for enterprise customers signed in with ChatGPT. Todo in follow-up PRs: * Add to app-server and exec too * Switch from fail-open to fail-closed on failure
This commit is contained in:
@@ -31,9 +31,10 @@ pub(crate) async fn build_config_state() -> Result<ConfigState> {
|
||||
let codex_home = find_codex_home().context("failed to resolve CODEX_HOME")?;
|
||||
let cli_overrides = Vec::new();
|
||||
let overrides = LoaderOverrides::default();
|
||||
let config_layer_stack = load_config_layers_state(&codex_home, None, &cli_overrides, overrides)
|
||||
.await
|
||||
.context("failed to load Codex config")?;
|
||||
let config_layer_stack =
|
||||
load_config_layers_state(&codex_home, None, &cli_overrides, overrides, None)
|
||||
.await
|
||||
.context("failed to load Codex config")?;
|
||||
|
||||
let cfg_path = codex_home.join(CONFIG_TOML_FILE);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user