pub type SkillScriptRunner = Arc<dyn Fn(Skill, SkillScript, Option<Value>) -> Pin<Box<dyn Future<Output = Result<Value, Error>> + Send>> + Send + Sync>;Expand description
Runs file-based skill scripts: called with the owning skill, the script
and the model’s args (for file scripts, an array of CLI argument
strings). The application decides how — a subprocess, a sandbox, a
hosted code interpreter.
Aliased Type§
pub struct SkillScriptRunner { /* private fields */ }