You've already forked DataMate
feature: deer-flow支持从datamate获取外部接入模型 (#83)
* feature: deer-flow支持从datamate获取外部接入模型
This commit is contained in:
@@ -8,7 +8,7 @@ import {
|
||||
Table,
|
||||
Tooltip,
|
||||
Popconfirm,
|
||||
message,
|
||||
message, Switch,
|
||||
} from "antd";
|
||||
import {
|
||||
EditOutlined,
|
||||
@@ -374,6 +374,14 @@ export default function EnvironmentAccess() {
|
||||
>
|
||||
<Select options={typeOptions} placeholder="选择模型类型"></Select>
|
||||
</Form.Item>
|
||||
<Form.Item
|
||||
name="isDefault"
|
||||
label="设为默认"
|
||||
required
|
||||
tooltip="当模型类型下仅有一个模型服务时,自动将其设为默认值。"
|
||||
>
|
||||
<Switch />
|
||||
</Form.Item>
|
||||
</Form>
|
||||
</Modal>
|
||||
</>
|
||||
|
||||
Reference in New Issue
Block a user