Merge branch 'two_edges' into two_edges_dev
This commit is contained in:
commit
902e616286
22 changed files with 235 additions and 186 deletions
|
|
@ -302,6 +302,12 @@ export default function GenericNode({
|
|||
);
|
||||
};
|
||||
|
||||
useEffect(() => {
|
||||
if (hiddenOutputs && hiddenOutputs.length == 0) {
|
||||
setShowHiddenOutputs(false);
|
||||
}
|
||||
}, [hiddenOutputs]);
|
||||
|
||||
const memoizedNodeToolbarComponent = useMemo(() => {
|
||||
return (
|
||||
<NodeToolbar>
|
||||
|
|
|
|||
|
|
@ -123,7 +123,7 @@ export const MenuBar = ({}: {}): JSX.Element => {
|
|||
title: UPLOAD_ERROR_ALERT,
|
||||
list: [error],
|
||||
});
|
||||
}
|
||||
},
|
||||
);
|
||||
}}
|
||||
>
|
||||
|
|
@ -193,7 +193,7 @@ export const MenuBar = ({}: {}): JSX.Element => {
|
|||
name="RefreshCcw"
|
||||
className="header-menu-options"
|
||||
/>
|
||||
Reload Components
|
||||
Refresh All
|
||||
</DropdownMenuItem>
|
||||
</DropdownMenuContent>
|
||||
</DropdownMenu>
|
||||
|
|
@ -221,7 +221,7 @@ export const MenuBar = ({}: {}): JSX.Element => {
|
|||
name={isBuilding || saveLoading ? "Loader2" : "CheckCircle2"}
|
||||
className={cn(
|
||||
"h-4 w-4",
|
||||
isBuilding || saveLoading ? "animate-spin" : "animate-wiggle"
|
||||
isBuilding || saveLoading ? "animate-spin" : "animate-wiggle",
|
||||
)}
|
||||
/>
|
||||
{printByBuildStatus()}
|
||||
|
|
|
|||
|
|
@ -244,7 +244,7 @@ export const nodeColors: { [char: string]: string } = {
|
|||
outputs: "#AA2411",
|
||||
data: "#198BF6",
|
||||
prompts: "#4367BF",
|
||||
models: "#6344BE",
|
||||
models: "#ab11ab",
|
||||
model_specs: "#6344BE",
|
||||
chains: "#FE7500",
|
||||
Document: "#7AAE42",
|
||||
|
|
@ -271,10 +271,10 @@ export const nodeColors: { [char: string]: string } = {
|
|||
Text: "#4367BF",
|
||||
retrievers: "#e6b25a",
|
||||
unknown: "#9CA3AF",
|
||||
custom_components: "#ab11ab",
|
||||
Data: "#31a3cc",
|
||||
Data: "#31a3cc",
|
||||
// custom_components: "#ab11ab",
|
||||
Data: "#9CA3AF",
|
||||
Message: "#4367BF",
|
||||
BaseLanguageModel: "#ab11ab",
|
||||
};
|
||||
|
||||
export const nodeNames: { [char: string]: string } = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue