-
Notifications
You must be signed in to change notification settings - Fork 4
Open
Description
Description
The elevenlabs agents push command fails with a 422 UnprocessableEntityError.
Importantly, this specific agent's configuration doesn't even have a workflow, and the start node is in this configuration.
Reproduction steps
elevenlabs agents init
elevenlabs agents pull --agent <agent-id-without-workflow>
elevenlabs agents push
Important note: the agent configuration should not have workflow configured, as on example below.
Actual behavior
The push command fails with the following error:
UnprocessableEntityError
Status code: 422
Body:
{
"detail": [
{
"type": "value_error",
"loc": [
"body",
"workflow",
"nodes"
],
"msg": "Value error, Workflow must contain a start node.",
"input": {
"startNode": {
"type": "start",
"position": {
"x": 544,
"y": 64
},
"edge_order": []
}
},
"ctx": {
"error": {}
}
}
]
}Agent configuration
...
"workflow": {
"edges": {},
"nodes": {
"start_node": {
"type": "start",
"position": {
"x": 128,
"y": 64
},
"edge_order": []
}
},
"prevent_subagent_loops": false
}
Expected behavior
Agents push command should succeed even if workflow is not configured.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels