refactor(auth): support multiple model IDs in Alibaba Cloud Standard API authentication

- Updated AuthDialog to handle multiple model IDs, allowing users to input and submit a comma-separated list.
- Adjusted related functions to process and validate multiple model IDs.
- Enhanced user feedback messages to reflect the changes in model ID handling.
This commit is contained in:
JohnKeating1997 2026-03-27 15:49:05 +08:00
parent 41b5001e54
commit ddc397360f
3 changed files with 34 additions and 28 deletions

View file

@ -49,7 +49,7 @@ export interface UIActions {
handleAlibabaStandardSubmit: (
apiKey: string,
region: AlibabaStandardRegion,
modelId: string,
modelIdsInput: string,
) => Promise<void>;
setAuthState: (state: AuthState) => void;
onAuthError: (error: string | null) => void;