fix: model names must not contain spaces at both ends

This commit is contained in:
QuentinHsu committed 2024-03-05 12:16:13 +08:00
1 parent 672f261c3e
commit 6543905bfd
1 file changed
+1 -1
+1 -1
View File
@@ -454,7 +454,7 @@ const EditChannel = (props) => {
placeholder='输入自定义模型名称'
value={customModel}
onChange={(value) => {
setCustomModel(value);
setCustomModel(value.trim());
}}
/>
</div>