fix: 修正顺序

This commit is contained in:
claude-code-best
2026-04-12 23:12:09 +08:00
parent 711440474c
commit bd6448ecda
2 changed files with 7 additions and 6 deletions

View File

@@ -39,6 +39,7 @@ export function getAPIProviderForStatsig(): AnalyticsMetadata_I_VERIFIED_THIS_IS
*/
export function isFirstPartyAnthropicBaseUrl(): boolean {
const baseUrl = process.env.ANTHROPIC_BASE_URL
// TODO: 这里会有问题, 只配置了 openai 协议的用户, 按理说会为 true 导致问题
if (!baseUrl) {
return true
}