mirror of
https://github.com/openai/codex.git
synced 2026-11-13 14:46:14 +00:00
Adjust error messages (#1969)
<img width="1378" height="285" alt="image" src="https://github.com/user-attachments/assets/f0283378-f839-4a1f-8331-909694a04b1f" />
This commit is contained in:
1 parent
cd06b28d84
commit
fa0051190b
5 files changed
+98
-17
No files matched your search
@@ -67,6 +67,13 @@ impl PlanType {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
pub fn as_string(&self) -> String {
|
||||
match self {
|
||||
Self::Known(known) => format!("{known:?}").to_lowercase(),
|
||||
Self::Unknown(s) => s.clone(),
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
#[derive(Debug, Clone, PartialEq, Eq, Serialize, Deserialize)]
|
||||
|
||||
Reference in new issue
Block a user