From fda802e796ede546b22a55c2a1b83cc8e3423575 Mon Sep 17 00:00:00 2001 From: JzoNg Date: Mon, 18 Mar 2024 22:46:19 +0800 Subject: [PATCH] chore: remove comments --- web/app/components/share/text-generation/index.tsx | 1 - web/utils/model-config.ts | 4 ---- 2 files changed, 5 deletions(-) diff --git a/web/app/components/share/text-generation/index.tsx b/web/app/components/share/text-generation/index.tsx index 5249af810e..6ad9f9e399 100644 --- a/web/app/components/share/text-generation/index.tsx +++ b/web/app/components/share/text-generation/index.tsx @@ -366,7 +366,6 @@ const TextGeneration: FC = ({ ...file_upload.image, image_file_size_limit: appParams?.system_parameters?.image_file_size_limit, }) - // ###TODO### const prompt_variables = userInputsFormToPromptVariables(user_input_form) setPromptConfig({ prompt_template: '', // placeholder for feture diff --git a/web/utils/model-config.ts b/web/utils/model-config.ts index 20fad0f32f..b54b5f284e 100644 --- a/web/utils/model-config.ts +++ b/web/utils/model-config.ts @@ -1,10 +1,6 @@ import type { UserInputFormItem } from '@/types/app' import type { PromptVariable } from '@/models/debug' -export const workflowUserInputsToPromptVariables = () => { - // TODO -} - export const userInputsFormToPromptVariables = (useInputs: UserInputFormItem[] | null, dataset_query_variable?: string) => { if (!useInputs) return []