mirror of https://github.com/langgenius/dify.git
chore: remove comments
This commit is contained in:
parent
a67777b8e2
commit
fda802e796
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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 []
|
||||
|
|
|
|||
Loading…
Reference in New Issue