MCPcopy Create free account
hub / github.com/AI45Lab/Code / command_result

Function command_result

core/src/agent_api/command_runtime.rs:37–49  ·  view source on GitHub ↗
(
    text: String,
    messages: Vec<Message>,
    usage: crate::llm::TokenUsage,
)

Source from the content-addressed store, hash-verified

35}
36
37fn command_result(
38 text: String,
39 messages: Vec<Message>,
40 usage: crate::llm::TokenUsage,
41) -> AgentResult {
42 AgentResult {
43 text,
44 messages,
45 tool_calls_count: 0,
46 usage,
47 verification_reports: Vec::new(),
48 }
49}
50
51pub(super) async fn dispatch_streaming(
52 session: &AgentSession,

Callers 1

dispatch_blockingFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected