File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -353,7 +353,7 @@ class AgentTurnResumeRequest(BaseModel):
353353    agent_id : str 
354354    session_id : str 
355355    turn_id : str 
356-     tool_responses : Union [ List [ToolResponse ],  List [ ToolResponseMessage ] ]
356+     tool_responses : List [ToolResponse ]
357357    stream : Optional [bool ] =  False 
358358
359359
@@ -432,7 +432,7 @@ async def resume_agent_turn(
432432        agent_id : str ,
433433        session_id : str ,
434434        turn_id : str ,
435-         tool_responses : Union [ List [ToolResponse ],  List [ ToolResponseMessage ] ],
435+         tool_responses : List [ToolResponse ],
436436        stream : Optional [bool ] =  False ,
437437    ) ->  Union [Turn , AsyncIterator [AgentTurnResponseStreamChunk ]]:
438438        """Resume an agent turn with executed tool call responses. 
@@ -443,7 +443,6 @@ async def resume_agent_turn(
443443        :param session_id: The ID of the session to resume. 
444444        :param turn_id: The ID of the turn to resume. 
445445        :param tool_responses: The tool call responses to resume the turn with. 
446-             NOTE: ToolResponseMessage will be deprecated. Use ToolResponse. 
447446        :param stream: Whether to stream the response. 
448447        :returns: A Turn object if stream is False, otherwise an AsyncIterator of AgentTurnResponseStreamChunk objects. 
449448        """ 
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments