First I tried to use [(@.length-1)] to filter response (assuming that 'agent' or 'user' are always present at the end) like this:
確定! 回上一頁