From cc54c47940d3aea2a4eb842356e130fc7c8f45ad Mon Sep 17 00:00:00 2001 From: "michael.zhang" Date: Wed, 28 Jan 2026 19:14:12 +0800 Subject: [PATCH] fix: lint errors in auth-choice.apply.volcengine.ts --- src/commands/auth-choice.apply.volcengine.ts | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/src/commands/auth-choice.apply.volcengine.ts b/src/commands/auth-choice.apply.volcengine.ts index c5ec1be72..3c99e93f2 100644 --- a/src/commands/auth-choice.apply.volcengine.ts +++ b/src/commands/auth-choice.apply.volcengine.ts @@ -15,10 +15,6 @@ type ArkModel = { owned_by: string; }; -type ArkModelsResponse = { - data: ArkModel[]; -}; - export async function applyAuthChoiceVolcengine( params: ApplyAuthChoiceParams, ): Promise { @@ -213,7 +209,7 @@ export async function applyAuthChoiceVolcengine( // Configure Provider const existingProviderOrder = nextConfig.models?.providers; // We need to cast this because TypeScript might complain if we add new keys to providers if it's strictly typed - const providers = { ...(existingProviderOrder || {}) } as any; + const providers = { ...existingProviderOrder } as any; providers.volcengine = { baseUrl: ARK_BASE_URL,