Преглед на файлове

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