소스 검색

change API key field to 'required' (#1953)

Chenhe Gu 1 년 전
부모
커밋
b934232411
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      api/core/model_runtime/model_providers/togetherai/togetherai.yaml

+ 1 - 0
api/core/model_runtime/model_providers/togetherai/togetherai.yaml

@@ -26,6 +26,7 @@ model_credential_schema:
       zh_Hans: 输入模型全称
   credential_form_schemas:
   - variable: api_key
+    required: true
     label:
       en_US: API Key
     type: secret-input