Lightweight coding agent that runs in your terminal
Rust
chore: alias max_concurrent_threads_per_session (#19354)
jif-oai9eadff97130e
diff --git a/codex-rs/config/src/key_aliases.rs b/codex-rs/config/src/key_aliases.rsindex 07cb44fa6d..8d417e269f 100644--- a/codex-rs/config/src/key_aliases.rs+++ b/codex-rs/config/src/key_aliases.rs@@ -8,11 +8,18 @@ struct ConfigKeyAlias {canonical_key: &'static str,}-const CONFIG_KEY_ALIASES: &[ConfigKeyAlias] = &[ConfigKeyAlias {- table_path: &["memories"],- legacy_key: "no_memories_if_mcp_or_web_search",- canonical_key: "disable_on_external_context",-}];+const CONFIG_KEY_ALIASES: &[ConfigKeyAlias] = &[+ ConfigKeyAlias {+ table_path: &["memories"],+ legacy_key: "no_memories_if_mcp_or_web_search",+ canonical_key: "disable_on_external_context",+ },+ ConfigKeyAlias {+ table_path: &["agents"],+ legacy_key: "max_concurrent_threads_per_session",+ canonical_key: "max_threads",+ },+];pub(crate) fn normalize_key_aliases(path: &[String], table: &mut TomlMap<String, TomlValue>) {for alias in CONFIG_KEY_ALIASES {