resolve_agent

Function resolve_agent 

Source
pub async fn resolve_agent(
    agent: &AgentDefinition,
    args: Value,
    app_config: &Config,
) -> Result<AgentPrompt>
Expand description

Resolve an agent script’s prompt.

Spawns a blocking thread, creates a sandboxed Lua VM with all host APIs plus the context bridge, and calls agent.resolve(args, config, context).