mirror of
https://github.com/fawney19/Aether.git
synced 2026-10-08 10:27:46 +08:00
feat(grok): add admin oauth and quota support
This commit is contained in:
@@ -8,4 +8,10 @@ describe('providerTypeUtils', () => {
|
||||
expect(isOAuthAccountProviderType('ChatGPT_Web')).toBe(true)
|
||||
expect(isKeyManagedProviderType('chatgpt_web')).toBe(false)
|
||||
})
|
||||
|
||||
it('treats Grok as an OAuth account provider', () => {
|
||||
expect(isOAuthAccountProviderType('grok')).toBe(true)
|
||||
expect(isOAuthAccountProviderType('GROK')).toBe(true)
|
||||
expect(isKeyManagedProviderType('grok')).toBe(false)
|
||||
})
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user