fix: skip Anthropic setup flow for third-party providers

This commit is contained in:
Vasanthdev2004
2026-04-02 01:32:38 +05:30
parent b204ae722f
commit c22045e3e4
3 changed files with 68 additions and 9 deletions

View File

@@ -17,6 +17,10 @@ export function getAPIProvider(): APIProvider {
: 'firstParty'
}
export function usesAnthropicAccountFlow(): boolean {
return getAPIProvider() === 'firstParty'
}
export function getAPIProviderForStatsig(): AnalyticsMetadata_I_VERIFIED_THIS_IS_NOT_CODE_OR_FILEPATHS {
return getAPIProvider() as AnalyticsMetadata_I_VERIFIED_THIS_IS_NOT_CODE_OR_FILEPATHS
}