fix(web): recover provider credential lifecycle

This commit is contained in:
Yichen Jiang
2026-08-06 12:07:28 +08:00
parent 0865926c38
commit af652c949f
25 changed files with 400 additions and 144 deletions

View File

@@ -16,8 +16,8 @@
- list:
- listitem:
- text: minimax-cn
- button "编辑"
- button "删除"
- button "编辑 minimax-cn": 编辑
- button "删除 minimax-cn": 删除
- button "添加提供方":
- img
- text: 添加提供方

View File

@@ -1,7 +1,7 @@
- dialog "删除模型提供方?":
- heading "删除模型提供方?" [level=2]
- dialog "删除 minimax-cn?":
- heading "删除 minimax-cn?" [level=2]
- button "关闭":
- img
- paragraph: 删除此模型提供方会移除其配置。在重新添加前,你将无法继续使用其模型。
- paragraph: 删除 minimax-cn 会移除其配置和存储的 API 密钥。
- button "取消"
- button "删除提供方"
- button "删除 minimax-cn"

View File

@@ -55,7 +55,7 @@
- option "zai-coding-cn"
- text: API 密钥
- textbox "API 密钥":
- /placeholder: 输入 API 密钥
- /placeholder: 输入 API 密钥,或留空使用环境认证
- group: 自定义设置
- button "取消"
- button "保存"