🔥 refactor(customs.py): remove unused "CustomComponent" node from CUSTOM_NODES dictionary

The "CustomComponent" node was removed from the CUSTOM_NODES dictionary as it was no longer being used. This improves code cleanliness and removes unnecessary clutter.
This commit is contained in:
Gabriel Luiz Freitas Almeida 2023-07-06 23:53:27 -03:00
commit fc615bf319

View file

@ -8,7 +8,6 @@ CUSTOM_NODES = {
"tools": {
"PythonFunctionTool": frontend_node.tools.PythonFunctionToolNode(),
"PythonFunction": frontend_node.tools.PythonFunctionNode(),
"CustomComponent": frontend_node.tools.CustomComponentNode(),
"Tool": frontend_node.tools.ToolNode(),
},
"agents": {
@ -31,6 +30,9 @@ CUSTOM_NODES = {
"MidJourneyPromptChain": frontend_node.chains.MidJourneyPromptChainNode(),
"load_qa_chain": frontend_node.chains.CombineDocsChainNode(),
},
"custom_components": {
"CustomComponent": frontend_node.custom_components.CustomComponentFrontendNode(),
},
}