Update IOInputField and IOFileInput components

This commit is contained in:
anovazzi1 2024-01-26 15:46:09 -03:00
commit 69b1c3714b
3 changed files with 3 additions and 2 deletions

View file

@ -18,7 +18,7 @@ export default function IOInputField({
onChange={updateValue}
/>
);
case "fileInput":
case "fileLoader":
return <IOFileInput field={field} updateValue={updateValue} />;
default:

View file

@ -3,5 +3,6 @@ import { IOFileInputProps } from "../../../types/components";
export default function IOFileInput({ field, updateValue }: IOFileInputProps) {
//component to handle file upload from chatIO
function handleCLick() {}
return <div></div>;
}

View file

@ -678,5 +678,5 @@ export const LANGFLOW_SUPPORTED_TYPES = new Set([
export const priorityFields = new Set(["code", "template"]);
export const INPUT_TYPES = new Set(["ChatInput", "TextInput"]);
export const INPUT_TYPES = new Set(["ChatInput", "TextInput", "FileLoader"]);
export const OUTPUT_TYPES = new Set(["ChatOutput"]);