From b934232411c18a6bea50b1a767b4f188eaa1f13d Mon Sep 17 00:00:00 2001 From: Chenhe Gu Date: Fri, 5 Jan 2024 17:19:04 +0800 Subject: [PATCH] change API key field to 'required' (#1953) --- .../model_runtime/model_providers/togetherai/togetherai.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/api/core/model_runtime/model_providers/togetherai/togetherai.yaml b/api/core/model_runtime/model_providers/togetherai/togetherai.yaml index 7213750060..89b0a26b0c 100644 --- a/api/core/model_runtime/model_providers/togetherai/togetherai.yaml +++ b/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