This commit is contained in:
Ahmed Ibrahim
2025-11-18 11:34:19 -08:00
parent c025309d32
commit 9435d39d4c
7 changed files with 35 additions and 35 deletions
-13
View File
@@ -32,19 +32,6 @@ pub enum ReasoningEffort {
High,
}
impl ReasoningEffort {
/// Friendly label that can be shown in UIs.
pub fn label(self) -> &'static str {
match self {
ReasoningEffort::None => "None",
ReasoningEffort::Minimal => "Minimal",
ReasoningEffort::Low => "Fast",
ReasoningEffort::Medium => "Balanced",
ReasoningEffort::High => "Thorough",
}
}
}
/// A summary of the reasoning performed by the model. This can be useful for
/// debugging and understanding the model's reasoning process.
/// See https://platform.openai.com/docs/guides/reasoning?api-mode=responses#reasoning-summaries