Function execute

Source
pub async fn execute(
    abilities: &[Ability],
    workdir_root: &PathBuf,
    message: &Message,
    tool_call: &ToolCall,
) -> Result<String>
Expand description

Execute abilities code.

§Errors

Will return an error if the script can’t be written, executed or removed.