1
This commit is contained in:
@@ -10,6 +10,14 @@ public interface IInstructionService {
|
||||
* @return 执行结果文本列表(可能为单条或多条)
|
||||
*/
|
||||
java.util.List<String> execute(String command);
|
||||
|
||||
/**
|
||||
* 获取历史消息记录
|
||||
* @param type 消息类型:request(请求) 或 response(响应)
|
||||
* @param limit 获取数量,默认100条
|
||||
* @return 历史消息列表
|
||||
*/
|
||||
java.util.List<String> getHistory(String type, Integer limit);
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user