()
| 29 | private List<List<String>> history; |
| 30 | |
| 31 | @Override |
| 32 | public JsonObject getInput() { |
| 33 | JsonObject jsonObject = new JsonObject(); |
| 34 | jsonObject.addProperty(PROMPT, getPrompt()); |
| 35 | JsonArray ar = JsonUtils.toJsonElement(history).getAsJsonArray(); |
| 36 | jsonObject.add(HISTORY, ar); |
| 37 | return jsonObject; |
| 38 | } |
| 39 | |
| 40 | /** |
| 41 | * Get the websocket binary data, only for websocket binary input data. |
no test coverage detected