chore: remove comments

This commit is contained in:
JzoNg 2024-03-18 22:46:19 +08:00
parent a67777b8e2
commit fda802e796
2 changed files with 0 additions and 5 deletions

View File

@ -366,7 +366,6 @@ const TextGeneration: FC<IMainProps> = ({
...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

View File

@ -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 []