🔥 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:
parent
bed962e513
commit
fc615bf319
1 changed files with 3 additions and 1 deletions
|
|
@ -8,7 +8,6 @@ CUSTOM_NODES = {
|
||||||
"tools": {
|
"tools": {
|
||||||
"PythonFunctionTool": frontend_node.tools.PythonFunctionToolNode(),
|
"PythonFunctionTool": frontend_node.tools.PythonFunctionToolNode(),
|
||||||
"PythonFunction": frontend_node.tools.PythonFunctionNode(),
|
"PythonFunction": frontend_node.tools.PythonFunctionNode(),
|
||||||
"CustomComponent": frontend_node.tools.CustomComponentNode(),
|
|
||||||
"Tool": frontend_node.tools.ToolNode(),
|
"Tool": frontend_node.tools.ToolNode(),
|
||||||
},
|
},
|
||||||
"agents": {
|
"agents": {
|
||||||
|
|
@ -31,6 +30,9 @@ CUSTOM_NODES = {
|
||||||
"MidJourneyPromptChain": frontend_node.chains.MidJourneyPromptChainNode(),
|
"MidJourneyPromptChain": frontend_node.chains.MidJourneyPromptChainNode(),
|
||||||
"load_qa_chain": frontend_node.chains.CombineDocsChainNode(),
|
"load_qa_chain": frontend_node.chains.CombineDocsChainNode(),
|
||||||
},
|
},
|
||||||
|
"custom_components": {
|
||||||
|
"CustomComponent": frontend_node.custom_components.CustomComponentFrontendNode(),
|
||||||
|
},
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue