소스 검색

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