[OF-1805] feat: Add new GoogleGenAI Quota tier feature #845
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Services-level support is being added for Gemini-based services. To ensure usage is managed appropriately, we are also tracking and limiting usage via the quota system. This requires a new Quota Feature Tier type:
GoogleGenAIwhich has been added.Please note:
MCS have not yet added the type, which means that one of our tests
GetTierFeaturesQuota, has had to be temporarily updated to account for this. Currently theGetTierFeaturesQuotareturns 9 tiers, but will return 10 once MCS have added the type. Once MCS have done this I will remove the temporary workaround.Another change I have made to the test is to no-longer validate every property of the returned
FeatureQuotaInfoobject as its data is subject to change at any point. This is a permanent change and will not be reverted once the new type is added by MCS.