Execute Turn • AI Agent SDK
execute_turn: API reference for InProcessTurnExecutor.execute_turn
execute_turn
Async
Method
</div>
This is a method of the InProcessTurnExecutor class in the protocols module.
Signature
async def execute_turn(placement: TurnPlacement, turn: 'Callable[[], Awaitable[Any]]') -> AnyParameters
ParamField
TurnPlacementNo description available.
ParamField
'CallableNo description available.
Returns
ResponseField
AnyThe result of the operation.
Uses
turn
Source
View on GitHubpraisonaiagents/gateway/protocols.py at line 7646