register_agent
Method
This is a method of the GatewayProtocol class in the protocols module.Register an agent with the gateway.
Signature
Parameters
Agent
required
The agent to register
Optional[str]
Optional custom agent ID
Returns
str
The agent ID (generated if not provided)
Source
View on GitHub
praisonaiagents/gateway/protocols.py at line 981
