use ag_contracts::ReasoningLevel;
pub(crate) fn codex(level: ReasoningLevel) -> &'static str {
match level {
ReasoningLevel::Low => "low",
ReasoningLevel::Medium => "medium",
ReasoningLevel::High => "high",
ReasoningLevel::XHigh => "xhigh",
ReasoningLevel::Max => "max",
}
}
pub(crate) fn antigravity(level: ReasoningLevel) -> &'static str {
match level {
ReasoningLevel::Low => "low",
ReasoningLevel::Medium => "medium",
ReasoningLevel::High | ReasoningLevel::XHigh | ReasoningLevel::Max => "high",
}
}
pub(crate) fn claude(level: ReasoningLevel) -> &'static str {
match level {
ReasoningLevel::Low => "low",
ReasoningLevel::Medium => "medium",
ReasoningLevel::High => "high",
ReasoningLevel::XHigh | ReasoningLevel::Max => "max",
}
}
#[cfg(test)]
#[path = "reasoning_test.rs"]
mod tests;