You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
The text was updated successfully, but these errors were encountered:
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
The text was updated successfully, but these errors were encountered: