add_message
Method
This is a method of the Session class in the session module.Add a message with role
Signature
Parameters
No description available.
No description available.
Returns
The result of the operation.
add_message: Add a message with role
This is a method of the Session class in the session module.Add a message with role
def add_message(&mut self, role: &str, content: impl Into<String>) -> Result<()>