diff --git a/codex-rs/core/src/agent_identity.rs b/codex-rs/core/src/agent_identity.rs index c46cdd294a..f1b25f8cdb 100644 --- a/codex-rs/core/src/agent_identity.rs +++ b/codex-rs/core/src/agent_identity.rs @@ -109,7 +109,7 @@ impl AgentIdentityManager { Self { auth_manager, secrets_manager: SecretsManager::new( - config.codex_home.clone(), + config.codex_home.to_path_buf(), SecretsBackendKind::Local, ), chatgpt_base_url: config.chatgpt_base_url.clone(),