Commit 6543905b by QuentinHsu

fix: model names must not contain spaces at both ends

parent 672f261c
...@@ -454,7 +454,7 @@ const EditChannel = (props) => { ...@@ -454,7 +454,7 @@ const EditChannel = (props) => {
placeholder='输入自定义模型名称' placeholder='输入自定义模型名称'
value={customModel} value={customModel}
onChange={(value) => { onChange={(value) => {
setCustomModel(value); setCustomModel(value.trim());
}} }}
/> />
</div> </div>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment