Closed tdhd3 closed 2 weeks ago
Hey @tdhd3! 👋 I'm here to assist with any bugs, questions, or becoming a contributor. I'm Dosu, a bot designed to help you while waiting for a human maintainer.
To resolve the error "Edge between Component and CrewAIAgentComponent has invalid handles" in setup.py
after updating to version 1.0.15, ensure that the handles in your JSON configuration are correctly defined and match the expected structure.
Here's an example of a correctly formatted edge:
{
"className": "",
"data": {
"sourceHandle": {
"dataType": "CrewAIAgentComponent",
"id": "CrewAIAgentComponent-Qm4en",
"name": "output",
"output_types": [
"Agent"
]
},
"targetHandle": {
"fieldName": "agents",
"id": "HierarchicalCrewComponent-EfNrX",
"inputTypes": [
"Agent"
],
"type": "other"
}
},
"id": "reactflow__edge-CrewAIAgentComponent-Qm4en{dataType:CrewAIAgentComponent,id:CrewAIAgentComponent-Qm4en,name:output,output_types:[Agent]}-HierarchicalCrewComponent-EfNrX{fieldName:agents,id:HierarchicalCrewComponent-EfNrX,inputTypes:[Agent],type:other}",
"selected": false,
"source": "CrewAIAgentComponent-Qm4en",
"sourceHandle": "{dataType: CrewAIAgentComponent, id: CrewAIAgentComponent-Qm4en, name: output, output_types: [Agent]}",
"target": "HierarchicalCrewComponent-EfNrX",
"targetHandle": "{fieldName: agents, id: HierarchicalCrewComponent-EfNrX, inputTypes: [Agent], type: other}"
}
Ensure that all edges in your JSON configuration follow this structure and that the sourceHandle
and targetHandle
fields are correctly defined without any special characters or incorrect formatting. This should resolve the error in setup.py
[[1]](https://github.com/langflow-ai/langflow/blob/main/src/backend/base/langflow/initial_setup/starter_projects/Complex Agent.json)[[2]](https://github.com/langflow-ai/langflow/blob/main/src/backend/base/langflow/initial_setup/starter_projects/Hierarchical Agent.json).
To continue talking to Dosu, mention @dosu.
Hey @HanumanTFM @tdhd3,
I hope you’re all doing well.
I went through every single component trying to get this error, but I couldn’t reproduce it. :(
Could you please provide the exported .JSON file of the flow where you’re encountering the error? I’ll be waiting for your response so I can proceed with the fix.
Thank you!
Same error for me. 1.0.15 on windows 11.
Hi @McCalebTheSecond, could you please share the flow that's causing the crash? That would help us move forward with the analysis.
Thank you!
Hi @McCalebTheSecond, could you please share the flow that's causing the crash? That would help us move forward with the analysis.
Thank you!
Hey @Cristhianzl, it happens when I start Langflow.
I have the same problem with various fresh installs on Windows 11 using conda environments running various Pythons from 3.10-3.12. It might be something to do with the SearchAPI component tool connection and the CrewAIAgent component? BTW. The flows seem to be the built-in agent flows using the experimental CrewAIAgent.
Hey @Geoff3068, @McCalebTheSecond, @HanumanTFM, @tdhd3,
I wanted to bring #3310 to your attention.
I’ve tested all the basic examples with CrewAI agents on the latest main branch, and everything worked smoothly. It looks like these issues will likely be resolved in the upcoming v1.0.16 release. I recommend waiting for the new release, as these errors shouldn’t cause any major roadblocks.
Thanks for your patience!
In my case, using this Google Search Tool was just fine in v1.0.14. When I updated to v1.0.15, it doesn;t work any more.
Btw, the terminal server pops out many errors when I first get into the project work space. So I disconnected the connection.
[image: image.png]
Cristhian Zanforlin Lousa @.***> 於 2024年8月22日 週四 上午3:11寫道:
Hey @Geoff3068 https://github.com/Geoff3068, @McCalebTheSecond https://github.com/McCalebTheSecond, @HanumanTFM https://github.com/HanumanTFM, @tdhd3 https://github.com/tdhd3,
I wanted to bring #3357 https://github.com/langflow-ai/langflow/issues/3357 to your attention.
I’ve tested all the basic examples with CrewAI agents on the latest main branch, and everything worked smoothly. It looks like these issues will likely be resolved in the upcoming v1.0.16 release. I recommend waiting for the new release, as these errors shouldn’t cause any major roadblocks.
Thanks for your patience!
— Reply to this email directly, view it on GitHub https://github.com/langflow-ai/langflow/issues/3356#issuecomment-2302811529, or unsubscribe https://github.com/notifications/unsubscribe-auth/BHJR7LYD64WW5VKUQ3O42QTZSTQ5TAVCNFSM6AAAAABMRP43A6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGMBSHAYTCNJSHE . You are receiving this because you were mentioned.Message ID: @.***>
After the update to v1.0.15. This error shows.
[image: image.png]
施力珩 @.***> 於 2024年8月22日 週四 上午11:22寫道:
In my case, using this Google Search Tool was just fine in v1.0.14. When I updated to v1.0.15, it doesn;t work any more.
Btw, the terminal server pops out many errors when I first get into the project work space. So I disconnected the connection.
[image: image.png]
Cristhian Zanforlin Lousa @.***> 於 2024年8月22日 週四 上午3:11寫道:
Hey @Geoff3068 https://github.com/Geoff3068, @McCalebTheSecond https://github.com/McCalebTheSecond, @HanumanTFM https://github.com/HanumanTFM, @tdhd3 https://github.com/tdhd3,
I wanted to bring #3357 https://github.com/langflow-ai/langflow/issues/3357 to your attention.
I’ve tested all the basic examples with CrewAI agents on the latest main branch, and everything worked smoothly. It looks like these issues will likely be resolved in the upcoming v1.0.16 release. I recommend waiting for the new release, as these errors shouldn’t cause any major roadblocks.
Thanks for your patience!
— Reply to this email directly, view it on GitHub https://github.com/langflow-ai/langflow/issues/3356#issuecomment-2302811529, or unsubscribe https://github.com/notifications/unsubscribe-auth/BHJR7LYD64WW5VKUQ3O42QTZSTQ5TAVCNFSM6AAAAABMRP43A6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGMBSHAYTCNJSHE . You are receiving this because you were mentioned.Message ID: @.***>
Updated to 1.015 ver. when I open the project, pop up a notion tells me to report to GitHub. Btw I couldn't access to my project.
Here's the notion:
Sorry, we found an unexpected error!
Please report errors with detailed tracebacks on the GitHub Issues page. Thank you!