mirror of
https://github.com/openai/codex.git
synced 2026-11-13 06:45:07 +00:00
Restore API key and query param overrides (#1826)
Addresses https://github.com/openai/codex/issues/1796
This commit is contained in:
1 parent
e38ce39c51
commit
84bcadb8d9
5 files changed
+144
-53
No files matched your search
@@ -22,7 +22,7 @@ const SOURCE_FOR_PYTHON_SERVER: &str = include_str!("./login_with_chatgpt.py");
|
||||
const CLIENT_ID: &str = "app_EMoamEEZ73f0CkXaXp7hrann";
|
||||
pub const OPENAI_API_KEY_ENV_VAR: &str = "OPENAI_API_KEY";
|
||||
|
||||
#[derive(Clone, Debug, PartialEq)]
|
||||
#[derive(Clone, Debug, PartialEq, Copy)]
|
||||
pub enum AuthMode {
|
||||
ApiKey,
|
||||
ChatGPT,
|
||||
|
||||
Reference in new issue
Block a user