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

Method execute_from_messages

core/src/agent_api/runtime.rs:109–116  ·  view source on GitHub ↗
(
        self,
        messages: Vec<Message>,
        session_id: &str,
    )

Source from the content-addressed store, hash-verified

107 }
108
109 pub(super) async fn execute_from_messages(
110 self,
111 messages: Vec<Message>,
112 session_id: &str,
113 ) -> Result<AgentResult> {
114 self.execute_from_messages_seeded(messages, session_id, None)
115 .await
116 }
117
118 /// Execute from a prebuilt message list, seeding the loop's cumulative
119 /// metrics from a checkpoint. Used by `resume_run` so resumed runs

Callers 2

spawn_from_messagesMethod · 0.45
send_with_attachmentsFunction · 0.45

Calls 1

Tested by

no test coverage detected