(&self)
| 42 | } |
| 43 | |
| 44 | pub fn supports_caching(&self) -> bool { |
| 45 | matches!( |
| 46 | self, |
| 47 | ProviderType::Anthropic |
| 48 | | ProviderType::OpenRouter |
| 49 | | ProviderType::Bedrock |
| 50 | | ProviderType::Gateway |
| 51 | ) |
| 52 | } |
| 53 | |
| 54 | pub fn supports_interleaved_thinking(&self) -> bool { |
| 55 | matches!(self, ProviderType::Anthropic | ProviderType::OpenRouter) |