[tui] Lowercase speed labels

Co-authored-by: Codex <noreply@openai.com>
This commit is contained in:
pash
2026-03-04 01:17:18 -08:00
parent 462a5574b8
commit 859e94bad2
3 changed files with 5 additions and 5 deletions

View File

@@ -1219,8 +1219,8 @@ impl SessionHeaderHistoryCell {
fn speed_label(&self) -> &'static str {
match self.service_tier {
Some(ServiceTier::Fast) => "Fast",
_ => "Standard",
Some(ServiceTier::Fast) => "fast",
_ => "standard",
}
}
}
@@ -3327,7 +3327,7 @@ mod tests {
assert!(model_line.contains("gpt-4o high"));
assert!(model_line.contains("/model to change"));
assert!(speed_line.contains("Fast"));
assert!(speed_line.contains("fast"));
assert!(speed_line.contains("/fast to change"));
assert_eq!(model_line.find("/model"), speed_line.find("/fast"));
}

View File

@@ -7,6 +7,6 @@ expression: rendered
│ >_ OpenAI Codex (v<VERSION>) │
│ │
│ model: gpt-test high /model to change │
│ speed: Standard /fast to change │
│ speed: standard /fast to change │
│ directory: /tmp/project │
╰─────────────────────────────────────────────╯

View File

@@ -7,7 +7,7 @@ expression: rendered
│ >_ OpenAI Codex (v0.0.0) │
│ │
│ model: gpt-5 /model to change │
│ speed: Standard /fast to change │
│ speed: standard /fast to change │
│ directory: /tmp/project │
╰────────────────────────────────────────╯