chore: change CodexAuth::from_api_key() to take &str instead of String

This commit is contained in:
Michael Bolin
2025-08-07 16:50:02 -07:00
parent b991c04f86
commit 3b12816016
5 changed files with 9 additions and 9 deletions
+1 -1
View File
@@ -99,7 +99,7 @@ async fn retries_on_early_close() {
config.model_provider = model_provider;
let CodexSpawnOk { codex, .. } = Codex::spawn(
config,
Some(CodexAuth::from_api_key("Test API Key".to_string())),
Some(CodexAuth::from_api_key("Test API Key")),
ctrl_c,
)
.await