UsesUsagePeriod returns true if the feature uses period-based usage limits.
()
| 305 | |
| 306 | // UsesUsagePeriod returns true if the feature uses period-based usage limits. |
| 307 | func (n FeatureName) UsesUsagePeriod() bool { |
| 308 | return map[FeatureName]bool{ |
| 309 | FeatureManagedAgentLimit: true, |
| 310 | }[n] |
| 311 | } |
| 312 | |
| 313 | // IsAIGovernanceAddon returns true if the feature is an AI Governance addon feature. |
| 314 | func (n FeatureName) IsAIGovernanceAddon() bool { |
no outgoing calls
no test coverage detected