async def handle_tool_call_results( self, ctx: Context, results: List[ToolCallResult], memory: BaseMemory ) -> None: """Handle tool call results for React agent.""" current_reasoning: list[BaseReasoningStep] = await ctx.store.get( self.reasoning_key, default=[] ) for tool_call_result in results: ... # Question user if tool_call_result.tool_name == "ask_user": current_reasoning.append( ResponseReasoningStep( thought="I need to ask the user a question.", response=obs_step.observation, # contient la question is_streaming=False, ) ) break ... await ctx.store.set(self.reasoning_key, current_reasoning)