MCPcopy Create free account
hub / github.com/OperationT00/T-Code / execute

Method execute

src/main/java/com/tcode/agent/SubAgent.java:152–154  ·  view source on GitHub ↗

执行任务,返回结果消息(默认输出到 System.out)

(AgentMessage task)

Source from the content-addressed store, hash-verified

150 * 执行任务,返回结果消息(默认输出到 System.out)
151 */
152 public AgentMessage execute(AgentMessage task) {
153 return execute(task, System.out);
154 }
155
156 /**
157 * 执行任务并将流式输出写入指定 PrintStream。并发执行时为每个步骤传入独立的 PrintStream,

Calls 15

refreshSystemPromptMethod · 0.95
prependSkillBodiesMethod · 0.95
userMessageMethod · 0.95
fromLlmClientMethod · 0.95
checkMethod · 0.95
finishMethod · 0.95
describeExitMethod · 0.95
iterationMethod · 0.95
totalInputTokensMethod · 0.95
totalOutputTokensMethod · 0.95
tokenBudgetMethod · 0.95