mirror of
https://github.com/openai/codex.git
synced 2026-11-22 23:00:42 +00:00
config: enforce enterprise feature requirements
This commit is contained in:
@@ -253,7 +253,10 @@ async fn unicode_output(login: bool) -> anyhow::Result<()> {
|
||||
|
||||
let harness = shell_command_harness_with(|builder| {
|
||||
builder.with_model("gpt-5.2").with_config(|config| {
|
||||
config.features.enable(Feature::PowershellUtf8);
|
||||
config
|
||||
.features
|
||||
.enable(Feature::PowershellUtf8)
|
||||
.expect("test config should allow feature update");
|
||||
})
|
||||
})
|
||||
.await?;
|
||||
@@ -283,7 +286,10 @@ async fn unicode_output_with_newlines(login: bool) -> anyhow::Result<()> {
|
||||
|
||||
let harness = shell_command_harness_with(|builder| {
|
||||
builder.with_model("gpt-5.2").with_config(|config| {
|
||||
config.features.enable(Feature::PowershellUtf8);
|
||||
config
|
||||
.features
|
||||
.enable(Feature::PowershellUtf8)
|
||||
.expect("test config should allow feature update");
|
||||
})
|
||||
})
|
||||
.await?;
|
||||
|
||||
Reference in New Issue
Block a user