mirror of
https://github.com/QwenLM/qwen-code.git
synced 2026-04-28 19:52:02 +00:00
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:
parent
41b5001e54
commit
ddc397360f
3 changed files with 34 additions and 28 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue