(self)
| 40 | |
| 41 | impl BuiltinAgent { |
| 42 | pub const fn as_str(self) -> &'static str { |
| 43 | match self { |
| 44 | Self::Build => "build", |
| 45 | Self::Plan => "plan", |
| 46 | Self::General => "general", |
| 47 | Self::Explore => "explore", |
| 48 | Self::Compaction => "compaction", |
| 49 | Self::Title => "title", |
| 50 | } |
| 51 | } |
| 52 | |
| 53 | pub const fn all() -> [BuiltinAgent; 6] { |
| 54 | [ |
no outgoing calls