mirror of
https://github.com/openai/codex.git
synced 2026-11-05 20:10:33 +00:00
Fix lenient config CI findings
This commit is contained in:
@@ -119,7 +119,7 @@ async fn returns_config_error_for_invalid_user_config_toml() {
|
||||
}
|
||||
|
||||
#[tokio::test]
|
||||
async fn invalid_enum_values_emit_warnings_without_poisoning_config() -> std::io::Result<()> {
|
||||
async fn invalid_enum_values_emit_warnings_without_poisoning_config() -> anyhow::Result<()> {
|
||||
let tmp = tempdir().expect("tempdir");
|
||||
let contents = r#"
|
||||
model = "gpt-5-codex"
|
||||
|
||||
@@ -356,10 +356,7 @@ pub async fn run_main(cli: Cli, arg0_paths: Arg0DispatchPaths) -> anyhow::Result
|
||||
let cloud_requirements = cloud_requirements_loader_for_storage(
|
||||
codex_home.to_path_buf(),
|
||||
/*enable_codex_api_key_env*/ false,
|
||||
config_toml
|
||||
.cli_auth_credentials_store
|
||||
.clone()
|
||||
.unwrap_or_default(),
|
||||
config_toml.cli_auth_credentials_store.unwrap_or_default(),
|
||||
chatgpt_base_url,
|
||||
)
|
||||
.await;
|
||||
|
||||
@@ -807,10 +807,7 @@ pub async fn run_main(
|
||||
let cloud_requirements = cloud_requirements_loader_for_storage(
|
||||
codex_home.to_path_buf(),
|
||||
/*enable_codex_api_key_env*/ false,
|
||||
config_toml
|
||||
.cli_auth_credentials_store
|
||||
.clone()
|
||||
.unwrap_or_default(),
|
||||
config_toml.cli_auth_credentials_store.unwrap_or_default(),
|
||||
chatgpt_base_url,
|
||||
)
|
||||
.await;
|
||||
|
||||
Reference in New Issue
Block a user