浏览代码

fix: xinference secret server_url (#1869)

Yeuoly 1 年之前
父节点
当前提交
c6d59681ff
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      api/core/model_runtime/model_providers/xinference/xinference.yaml

+ 1 - 1
api/core/model_runtime/model_providers/xinference/xinference.yaml

@@ -31,7 +31,7 @@ model_credential_schema:
     label:
       zh_Hans: 服务器URL
       en_US: Server url
-    type: text-input
+    type: secret-input
     required: true
     placeholder:
       zh_Hans: 在此输入Xinference的服务器地址,如 https://example.com/xxx