Skip to main content

create_session

Method
This is a method of the GatewayProtocol class in the protocols module.
Create a new session.

Signature

Parameters

str
required
The agent to handle this session
Optional[str]
Optional client ID
Optional[str]
Optional custom session ID

Returns

GatewaySessionProtocol
The created session

Source

View on GitHub

praisonaiagents/gateway/protocols.py at line 1013

Session Management

Sessions Feature

Session Persistence