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

Method run

sdk/python/src/lib.rs:1459–1466  ·  view source on GitHub ↗
(
        &self,
        py: Python<'_>,
        prompt: &Bound<'_, PyAny>,
        history: Option<&Bound<'_, PyList>>,
    )

Source from the content-addressed store, hash-verified

1457 /// Alias for ``send(...)`` with a name that matches run/replay terminology.
1458 #[pyo3(signature = (prompt, history=None))]
1459 fn run(
1460 &self,
1461 py: Python<'_>,
1462 prompt: &Bound<'_, PyAny>,
1463 history: Option<&Bound<'_, PyList>>,
1464 ) -> PyResult<PyAgentResult> {
1465 self.send(py, prompt, history)
1466 }
1467
1468 /// Resume a previously-checkpointed run on this session.
1469 ///

Callers

nothing calls this directly

Calls 1

sendMethod · 0.45

Tested by

no test coverage detected