Explorar o código

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

Chenhe Gu hai 1 ano
pai
achega
b934232411

+ 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