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

Method parseToolCallResult

src/agent/LLMManager.ts:263–271  ·  view source on GitHub ↗

* 解析工具调用结果

(completion: any)

Source from the content-addressed store, hash-verified

261 * 解析工具调用结果
262 */
263 public parseToolCallResult(completion: any): any {
264 this.ensureLLMAvailable();
265
266 if (this.llm instanceof QwenLLM) {
267 return this.llm.parseToolCallResult(completion);
268 } else {
269 throw new Error('工具调用结果解析仅支持 Qwen 模型');
270 }
271 }
272
273 /**
274 * 执行完整的工具调用工作流

Callers

nothing calls this directly

Calls 1

ensureLLMAvailableMethod · 0.95

Tested by

no test coverage detected