chore: rename Chatgpt -> ChatGpt in type names

This commit is contained in:
Michael Bolin
2026-01-30 11:02:54 -08:00
parent 40bf11bd52
commit c04df09489
16 changed files with 61 additions and 61 deletions
@@ -30,7 +30,7 @@ pub enum AuthMode {
/// OpenAI API key provided by the caller and stored by Codex.
ApiKey,
/// ChatGPT OAuth managed by Codex (tokens persisted and refreshed by Codex).
ChatGPT,
Chatgpt,
/// [UNSTABLE] FOR OPENAI INTERNAL USE ONLY - DO NOT USE.
///
/// ChatGPT auth tokens are supplied by an external host app and are only
@@ -941,7 +941,7 @@ mod tests {
serde_json::to_value(&api_key)?,
);
let chatgpt = v2::Account::Chatgpt {
let chatgpt = v2::Account::ChatGpt {
email: "user@example.com".to_string(),
plan_type: PlanType::Plus,
};
@@ -817,7 +817,7 @@ pub enum Account {
#[serde(rename = "chatgpt", rename_all = "camelCase")]
#[ts(rename = "chatgpt", rename_all = "camelCase")]
Chatgpt { email: String, plan_type: PlanType },
ChatGpt { email: String, plan_type: PlanType },
}
#[derive(Serialize, Deserialize, Debug, Clone, PartialEq, JsonSchema, TS)]