This commit is contained in:
jif-oai
2026-04-10 18:14:42 +01:00
committed by GitHub
parent 2e81eac004
commit 87328976f6
@@ -1236,7 +1236,7 @@ impl CodexMessageProcessor {
});
}
let mut opts = LoginServerOptions {
let opts = LoginServerOptions {
open_browser: false,
..LoginServerOptions::new(
config.codex_home.clone(),
@@ -1246,11 +1246,15 @@ impl CodexMessageProcessor {
)
};
#[cfg(debug_assertions)]
if let Ok(issuer) = std::env::var(LOGIN_ISSUER_OVERRIDE_ENV_VAR)
&& !issuer.trim().is_empty()
{
opts.issuer = issuer;
}
let opts = {
let mut opts = opts;
if let Ok(issuer) = std::env::var(LOGIN_ISSUER_OVERRIDE_ENV_VAR)
&& !issuer.trim().is_empty()
{
opts.issuer = issuer;
}
opts
};
Ok(opts)
}
@@ -5601,7 +5605,7 @@ impl CodexMessageProcessor {
}
async fn unload_thread_without_subscribers(
&mut self,
&self,
thread_id: ThreadId,
thread: Arc<CodexThread>,
) {