mirror of
https://github.com/openai/codex.git
synced 2026-11-11 14:32:25 +00:00
Support CODEX_API_KEY for codex exec (#4615)
Allows to set API key per invocation of `codex exec`
This commit is contained in:
1 parent
35c76ad47d
commit
2f6fb37d72
13 files changed
+109
-68
No files matched your search
@@ -52,7 +52,7 @@ impl MessageProcessor {
|
||||
config: Arc<Config>,
|
||||
) -> Self {
|
||||
let outgoing = Arc::new(outgoing);
|
||||
let auth_manager = AuthManager::shared(config.codex_home.clone());
|
||||
let auth_manager = AuthManager::shared(config.codex_home.clone(), false);
|
||||
let conversation_manager = Arc::new(ConversationManager::new(auth_manager));
|
||||
Self {
|
||||
outgoing,
|
||||
|
||||
Reference in new issue
Block a user