Open chat
This commit is contained in:
parent
f294d1faac
commit
2913abb7bf
1 changed files with 1 additions and 1 deletions
|
|
@ -27,7 +27,7 @@ export default function IOView({ children, open, setOpen }): JSX.Element {
|
|||
node.type !== "ChatOutput"
|
||||
);
|
||||
const haveChat = useFlowStore((state) => state.outputs).some(
|
||||
(output) => output.type === "ChatOutput"
|
||||
(output) => output.type === "ChatOutput" || output.type === "ChatInput"
|
||||
);
|
||||
const [selectedTab, setSelectedTab] = useState(
|
||||
inputs.length > 0 ? 1 : outputs.length > 0 ? 2 : 0
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue