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

Method destroy

src/agent/LLMManager.ts:103–110  ·  view source on GitHub ↗

* 销毁 LLM

()

Source from the content-addressed store, hash-verified

101 * 销毁 LLM
102 */
103 public async destroy(): Promise<void> {
104 if (this.llm) {
105 await this.llm.destroy();
106 this.log('LLM 已销毁');
107 }
108 this.llm = undefined;
109 this.isInitialized = false;
110 }
111
112 /**
113 * 检查 LLM 是否可用

Callers 1

demonstrateLLMManagerFunction · 0.95

Calls 1

logMethod · 0.95

Tested by

no test coverage detected