mirror of
https://github.com/openai/codex.git
synced 2026-11-23 23:10:47 +00:00
chore: change CodexAuth::from_api_key() to take &str instead of String
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user