MCPcopy Create free account
hub / github.com/echoVic/blade-code / getExecutionHistory

Method getExecutionHistory

src/tools/ToolManager.ts:269–272  ·  view source on GitHub ↗

* 获取执行历史

(limit?: number)

Source from the content-addressed store, hash-verified

267 * 获取执行历史
268 */
269 public getExecutionHistory(limit?: number): ToolExecutionHistory[] {
270 const history = [...this.executionHistory];
271 return limit ? history.slice(-limit) : history;
272 }
273
274 /**
275 * 清空执行历史

Callers 1

statsExampleFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected