Derive the picker's checked state from the list at render so a row drafted during the fetch is not removed. Disable Update list when it would empty a non-empty list, because an empty list serves the whole catalog. List a repeated candidate id once and treat rows without an id as unconfigured.
19 lines
558 B
Markdown
19 lines
558 B
Markdown
- dialog "选择模型":
|
|
- heading "选择模型" [level=2]
|
|
- button "关闭"
|
|
- paragraph: 以下是模型提供商的可用模型,勾选的模型即为模型列表。
|
|
- searchbox "搜索模型"
|
|
- button "取消全选"
|
|
- list:
|
|
- listitem:
|
|
- checkbox "MiniMax-M2.7" [checked]
|
|
- text: MiniMax-M2.7
|
|
- listitem:
|
|
- checkbox "MiniMax-M2.7-highspeed" [checked]
|
|
- text: MiniMax-M2.7-highspeed
|
|
- listitem:
|
|
- checkbox "MiniMax-M3" [checked]
|
|
- text: MiniMax-M3
|
|
- button "取消"
|
|
- button "更新列表"
|