diff --git a/web/utils/predefinedComponent.test.ts b/web/utils/predefinedComponent.test.ts index 42b391d73..fe5a700d3 100644 --- a/web/utils/predefinedComponent.test.ts +++ b/web/utils/predefinedComponent.test.ts @@ -1,12 +1,11 @@ - -import { presetConfiguration } from './predefinedComponent'; +import { presetConfiguration } from './predefinedComponent' it('should have correct configuration for prompt_template', () => { - const config = presetConfiguration['prompt_template']; + const config = presetConfiguration['prompt_template'] expect(config).toEqual({ key: 'prompt_template', title: 'Prompt template', - description: `A predefined text or framework that guides the AI model's response generation. It includes placeholders or instructions for the model to fill in or expand upon.`, + description: `A structured format that guides how the model should respond.`, controllerType: 'input', controllerProps: { placeholder: 'Prompt template', @@ -14,5 +13,5 @@ it('should have correct configuration for prompt_template', () => { }, requireModelReload: true, configType: 'setting', - }); -}); + }) +})