Context Manager • AI Agent SDK

context_manager: Set context manager directly.

context_manager

Method

</div>

This is a method of the Agent class in the agent module.

Set context manager directly.

Signature

python
def context_manager(value: Any) -> Any

Parameters

ParamField Any

No description available.

Returns

ResponseField Any

The result of the operation.

Source

View on GitHub

praisonaiagents/agent/agent.py at line 3880


Related Documentation