Skip to main content

execute_tool_requests

Function execute_tool_requests 

Source
pub async fn execute_tool_requests(
    thinker: Option<&ThinkerClient>,
    tool_registry: &Arc<ToolRegistry>,
    persona_id: &str,
    thought_text: &str,
    allowed_tools: &[String],
) -> Vec<ThoughtEvent>
Expand description

Execute tool requests extracted from a Test-phase thought.

Returns ThoughtEvents for each tool execution result.