Agent ID • AI Agent SDK
agent_id: ID of the agent handling this session.
agent_id
Method
</div>
This is a method of the GatewaySessionProtocol class in the protocols module.
ID of the agent handling this session.
Signature
def agent_id() -> Optional[str]Returns
ResponseField
Optional[str]The result of the operation.
Source
View on GitHubpraisonaiagents/gateway/protocols.py at line 1256