fix: async-ify login flow

This commit is contained in:
Michael Bolin
2025-08-18 09:47:10 -07:00
parent b887124e72
commit 74ccd9dba1
5 changed files with 126 additions and 99 deletions
+1 -1
View File
@@ -21,7 +21,7 @@ pub async fn login_with_chatgpt(codex_home: PathBuf) -> std::io::Result<()> {
server.actual_port, server.auth_url,
);
server.block_until_done()
server.block_until_done().await
}
pub async fn run_login_with_chatgpt(cli_config_overrides: CliConfigOverrides) -> ! {