fix(core): allow any preview model in quota access check (#19867)

This commit is contained in:
Bryan Morgan
2026-02-22 07:53:24 -05:00
committed by GitHub
parent 84666e1bbc
commit d96bd05d36
4 changed files with 19 additions and 1 deletions
+1
View File
@@ -36,6 +36,7 @@ describe('isPreviewModel', () => {
it('should return true for preview models', () => {
expect(isPreviewModel(PREVIEW_GEMINI_MODEL)).toBe(true);
expect(isPreviewModel(PREVIEW_GEMINI_3_1_MODEL)).toBe(true);
expect(isPreviewModel(PREVIEW_GEMINI_3_1_CUSTOM_TOOLS_MODEL)).toBe(true);
expect(isPreviewModel(PREVIEW_GEMINI_FLASH_MODEL)).toBe(true);
expect(isPreviewModel(PREVIEW_GEMINI_MODEL_AUTO)).toBe(true);
});