mirror of
https://github.com/openai/codex.git
synced 2026-04-24 14:45:27 +00:00
[tui] Lowercase speed labels
Co-authored-by: Codex <noreply@openai.com>
This commit is contained in:
@@ -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"));
|
||||
}
|
||||
|
||||
@@ -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 │
|
||||
╰─────────────────────────────────────────────╯
|
||||
|
||||
@@ -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 │
|
||||
╰────────────────────────────────────────╯
|
||||
|
||||
|
||||
Reference in New Issue
Block a user