AutoGPT is the vision of accessible AI for everyone, to use and to build on. Our mission is to provide the tools, so that you can focus on what matters.
[X] I have searched the existing issues, and there is no existing issue for my problem
Which Operating System are you using?
MacOS
Which version of AutoGPT are you using?
Master (branch)
What LLM Provider do you use?
Other (detail in issue)
Which area covers your issue best?
Agents
What commit or version are you using?
5a7193c
Describe your issue.
When i try to create a agent with multiple blocks and links, it throws below error. It works fine with agent with just blocks. But linking them gives this error.
While debugging this i found it is throwing in validate graph method. The souce and sink ids are still the one's assigned in UI but the nodemap has the uuid's saved in db.
return await cls.create_graph(create_graph, is_template=False, user_id=user_id) File "/Users/nsuman/workspace/AutoGPT/rnd/autogpt_server/autogpt_server/server/rest_api.py", line 366, in create_graph graph.reassign_ids(reassign_graph_id=True) File "/Users/nsuman/workspace/AutoGPT/rnd/autogpt_server/autogpt_server/data/graph.py", line 146, in reassign_ids self.validate_graph() File "/Users/nsuman/workspace/AutoGPT/rnd/autogpt_server/autogpt_server/data/graph.py", line 220, in validate_graph raise ValueError( ValueError: Link ('1', 'transcript') <-> ('2', 'text'), 1 is invalid node id, available nodes: dict_keys(['ec16416b-c06a-41cc-80b2-d3506d20b0f9', 'd8f6a0c3-79a4-4c2c-a3d0-256973f15728'])
⚠️ Search for existing issues first ⚠️
Which Operating System are you using?
MacOS
Which version of AutoGPT are you using?
Master (branch)
What LLM Provider do you use?
Other (detail in issue)
Which area covers your issue best?
Agents
What commit or version are you using?
5a7193c
Describe your issue.
When i try to create a agent with multiple blocks and links, it throws below error. It works fine with agent with just blocks. But linking them gives this error.
While debugging this i found it is throwing in validate graph method. The souce and sink ids are still the one's assigned in UI but the nodemap has the uuid's saved in db.
return await cls.create_graph(create_graph, is_template=False, user_id=user_id) File "/Users/nsuman/workspace/AutoGPT/rnd/autogpt_server/autogpt_server/server/rest_api.py", line 366, in create_graph graph.reassign_ids(reassign_graph_id=True) File "/Users/nsuman/workspace/AutoGPT/rnd/autogpt_server/autogpt_server/data/graph.py", line 146, in reassign_ids self.validate_graph() File "/Users/nsuman/workspace/AutoGPT/rnd/autogpt_server/autogpt_server/data/graph.py", line 220, in validate_graph raise ValueError( ValueError: Link ('1', 'transcript') <-> ('2', 'text'), 1 is invalid node id, available nodes: dict_keys(['ec16416b-c06a-41cc-80b2-d3506d20b0f9', 'd8f6a0c3-79a4-4c2c-a3d0-256973f15728'])
Upload Activity Log Content
No response
Upload Error Log Content
No response