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

Method conversation

src/agent/LLMManager.ts:149–156  ·  view source on GitHub ↗

* 多轮对话

(messages: LLMMessage[])

Source from the content-addressed store, hash-verified

147 * 多轮对话
148 */
149 public async conversation(messages: LLMMessage[]): Promise<string> {
150 this.ensureLLMAvailable();
151
152 this.log(`开始多轮对话,消息数: ${messages.length}`);
153 const response = await this.llm!.conversation(messages);
154 this.log(`对话完成: ${response.substring(0, 50)}...`);
155 return response;
156 }
157
158 /**
159 * 流式聊天

Callers 1

chatWithSystemMethod · 0.95

Calls 2

ensureLLMAvailableMethod · 0.95
logMethod · 0.95

Tested by

no test coverage detected