Parcourir la source

fix: xinference secret server_url (#1869)

Yeuoly il y a 1 an
Parent
commit
c6d59681ff

+ 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