removed chat input node from sidebar
This commit is contained in:
parent
89ff3971ae
commit
6a0f5322d9
3 changed files with 6 additions and 19 deletions
|
|
@ -83,23 +83,6 @@ export default function ExtraSidebar() {
|
|||
button={{ title: nodeNames["chat"], Icon: nodeIcons["chat"] }}
|
||||
>
|
||||
<div className="p-2 flex flex-col gap-2">
|
||||
<div>
|
||||
<div
|
||||
draggable
|
||||
className={" cursor-grab border-l-8 rounded-l-md"}
|
||||
style={{ borderLeftColor: nodeColors["chat"] }}
|
||||
onDragStart={(event) =>
|
||||
onDragStart(event, {
|
||||
type: "chatInput",
|
||||
})
|
||||
}
|
||||
>
|
||||
<div className="flex w-full justify-between text-sm px-4 py-3 items-center border-dashed border-gray-400 dark:border-gray-600 border-l-0 rounded-md rounded-l-none border-2">
|
||||
<span className="text-black dark:text-white w-36 truncate">Chat Input</span>
|
||||
<Bars2Icon className="w-6 h-6 text-gray-400 dark:text-gray-600" />
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div>
|
||||
<div
|
||||
draggable
|
||||
|
|
|
|||
|
|
@ -134,8 +134,6 @@ export default function FlowPage({ flow }:{flow:FlowType}) {
|
|||
type:
|
||||
data.type === "str"
|
||||
? "inputNode"
|
||||
: data.type === "chatInput"
|
||||
? "chatInputNode"
|
||||
: data.type === "chatOutput"
|
||||
? "chatOutputNode"
|
||||
: data.type === "bool"
|
||||
|
|
|
|||
6
space_flow/package-lock.json
generated
Normal file
6
space_flow/package-lock.json
generated
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
{
|
||||
"name": "space_flow",
|
||||
"lockfileVersion": 2,
|
||||
"requires": true,
|
||||
"packages": {}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue