If changing an agent type from flow -> conversational or vice versa, it returns 2xx response indicating success. But on subsequent GET calls, it returns the original configuration before the update call, indicating that it must have failed?
Demo cmds:
Create flow agent
POST /_plugins/_ml/agents/_register
{
"name": "test",
"type": "flow"
}
Update as conversational agent returns a 200 and "result": "updated" in response body
PUT /_plugins/_ml/agents/<agent-id>
{
"name": "test",
"type": "conversational"
}
But get call returns the original flow agent, indicating failure to update.
GET /_plugins/_ml/agents/<agent-id>