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

python
async def execute_turn(placement: TurnPlacement, turn: 'Callable[[], Awaitable[Any]]') -> Any

Parameters

ParamField TurnPlacement

No description available.

ParamField 'Callable

No description available.

Returns

ResponseField Any

The result of the operation.

Uses

  • turn

Source

View on GitHub

praisonaiagents/gateway/protocols.py at line 7646