ソースを参照

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