Skip to content

[app-builder] 新增模型配置表单#176

Merged
wjn1584 merged 5 commits intoModelEngine-Group:developfrom
lizhichao51:main-model-config-form
May 22, 2025
Merged

[app-builder] 新增模型配置表单#176
wjn1584 merged 5 commits intoModelEngine-Group:developfrom
lizhichao51:main-model-config-form

Conversation

@lizhichao51
Copy link
Copy Markdown
Contributor

新增模型配置表单源码,用于部署时候编译,替换现有源码包方案

@lizhichao51 lizhichao51 requested a review from wjn1584 May 9, 2025 02:25
@CodeCasterX CodeCasterX self-assigned this May 9, 2025
@CodeCasterX CodeCasterX added in: builder Issues in app-builder modules type: enhancement A general enhancement labels May 9, 2025
@CodeCasterX CodeCasterX added this to Nova May 9, 2025
@CodeCasterX CodeCasterX added this to the 20250531 milestone May 9, 2025
@lizhichao51 lizhichao51 force-pushed the main-model-config-form branch from 75c21e3 to da1be50 Compare May 10, 2025 02:43
"sass-loader": "^13.3.2",
"style-loader": "^2.0.0",
"typescript": "^5.4.5",
"uglifyjs-webpack-plugin": "^2.2.0",
Copy link
Copy Markdown
Member

@wjn1584 wjn1584 May 21, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

这个依赖没有用到,并且存在漏洞,删掉吧

"html-webpack-plugin": "^5.5.0",
"less": "4.2.0",
"less-loader": "12.2.0",
"lodash": "4.17.21",
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

确认是否用到?包超大

maxLength={200}
showCount
value={newModel.baseUrl}
onChange={(e) => setNewModel({ ...newModel, baseUrl: e.target.value })}
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

给输入值去除前后空格,提升用户体验

</div>
<div style={{ marginBottom: 12 }}>
<label>API Key:</label>
<Input
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

给输入值去除前后空格,提升用户体验

<div style={{ marginBottom: 12 }}>
<label>模型名称:</label>
<Input
maxLength={100}
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

给输入值去除前后空格,提升用户体验

@wjn1584 wjn1584 merged commit 8cba741 into ModelEngine-Group:develop May 22, 2025
@github-project-automation github-project-automation bot moved this to Done in Nova May 22, 2025
@lizhichao51 lizhichao51 deleted the main-model-config-form branch June 11, 2025 09:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

in: builder Issues in app-builder modules type: enhancement A general enhancement

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

3 participants