| 1 | use serde::{Deserialize, Serialize}; |
| 2 | |
| 3 | /// Canonical reasoning-effort tiers recorded as configuration facts. This is |
| 4 | /// deliberately an enum rather than free-form text so Work Graph activity can |
| 5 | /// never become a side channel for model reasoning. |
| 6 | #[derive(Debug, Clone, Copy, PartialEq, Eq, Serialize, Deserialize)] |
| 7 | #[serde(rename_all = "snake_case")] |
| 8 | pub enum ReasoningEffortTier { |
| 9 | Off, |
| 10 | Minimal, |
| 11 | Low, |
| 12 | Medium, |
| 13 | High, |
| 14 | #[serde(rename = "xhigh")] |
| 15 | XHigh, |
| 16 | Ultra, |
| 17 | Auto, |
| 18 | Max, |
| 19 | /// Thinking is enabled, but the provider route exposes no supported |
| 20 | /// effort tiers. This is an effective receipt, never a requested setting. |
| 21 | ThinkingEnabledGranularityUnavailable, |
| 22 | /// The configured route exposes no verified reasoning-control contract. |
| 23 | /// This is an effective receipt, never a requested setting. |
| 24 | Unavailable, |
| 25 | } |
| 26 |