fix(vscode): import AuthType as value not type

AuthMessageHandler now references AuthType.USE_OPENAI etc. as enum values (for the protocolLabels map added in cdc17cbba0), but the import was 'import type AuthType' which strips the runtime binding. TS1361 fired in CI's emitting build even though --noEmit was happy locally.

Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
This commit is contained in:
pomelo-nwu 2026-05-19 16:42:46 +08:00
parent 93199a46ed
commit 8f94b018bd

View file

@ -10,11 +10,11 @@ import { getErrorMessage } from '../../utils/errorMessage.js';
import {
ALL_PROVIDERS,
ALIBABA_PROVIDERS,
AuthType,
THIRD_PARTY_PROVIDERS,
shouldShowStep,
resolveBaseUrl,
getDefaultModelIds,
type AuthType,
type ProviderConfig,
type ProviderSetupInputs,
type BaseUrlOption,