chore: rename Chatgpt -> ChatGpt in type names

This commit is contained in:
Michael Bolin
2026-01-30 10:30:50 -08:00
parent 40bf11bd52
commit 0166c1b156
17 changed files with 94 additions and 94 deletions
+3 -3
View File
@@ -78,7 +78,7 @@ pub async fn run_login_with_api_key(
) -> ! {
let config = load_config_or_exit(cli_config_overrides).await;
if matches!(config.forced_login_method, Some(ForcedLoginMethod::Chatgpt)) {
if matches!(config.forced_login_method, Some(ForcedLoginMethod::ChatGpt)) {
eprintln!("{API_KEY_LOGIN_DISABLED_MESSAGE}");
std::process::exit(1);
}
@@ -236,11 +236,11 @@ pub async fn run_login_status(cli_config_overrides: CliConfigOverrides) -> ! {
std::process::exit(1);
}
},
AuthMode::ChatGPT => {
AuthMode::ChatGpt => {
eprintln!("Logged in using ChatGPT");
std::process::exit(0);
}
AuthMode::ChatgptAuthTokens => {
AuthMode::ChatGptAuthTokens => {
eprintln!("Logged in using ChatGPT (external tokens)");
std::process::exit(0);
}