mirror of
https://github.com/QwenLM/qwen-code.git
synced 2026-04-30 20:50:34 +00:00
feat(auth): improve Qwen OAuth quota error messaging
Update error handling to display user-friendly quota exceeded messages with links to Alibaba Cloud Coding Plan upgrade options. Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
This commit is contained in:
parent
d3cdad5100
commit
e04479f6a1
4 changed files with 23 additions and 8 deletions
|
|
@ -95,9 +95,12 @@ export function AuthDialog(): React.JSX.Element {
|
|||
title: '阿里云百炼 (aliyun.com)',
|
||||
label: '阿里云百炼 (aliyun.com)',
|
||||
description: (
|
||||
<Link url="https://bailian.console.aliyun.com" fallback={false}>
|
||||
<Link
|
||||
url="https://help.aliyun.com/zh/model-studio/coding-plan"
|
||||
fallback={false}
|
||||
>
|
||||
<Text color={theme.text.secondary}>
|
||||
https://bailian.console.aliyun.com
|
||||
https://help.aliyun.com/zh/model-studio/coding-plan
|
||||
</Text>
|
||||
</Link>
|
||||
),
|
||||
|
|
@ -108,9 +111,12 @@ export function AuthDialog(): React.JSX.Element {
|
|||
title: 'Alibaba Cloud (alibabacloud.com)',
|
||||
label: 'Alibaba Cloud (alibabacloud.com)',
|
||||
description: (
|
||||
<Link url="https://bailian.console.alibabacloud.com" fallback={false}>
|
||||
<Link
|
||||
url="https://www.alibabacloud.com/help/en/model-studio/coding-plan"
|
||||
fallback={false}
|
||||
>
|
||||
<Text color={theme.text.secondary}>
|
||||
https://bailian.console.alibabacloud.com
|
||||
https://www.alibabacloud.com/help/en/model-studio/coding-plan
|
||||
</Text>
|
||||
</Link>
|
||||
),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue