add • Rust AI Agent SDK
add: Add an entry to context
add
Method
</div>
This is a method of the ContextAgent class in the specialized module.
Add an entry to context
Signature
def add(&mut self, role: impl Into<String>, content: impl Into<String>) -> ()Parameters
ParamField
impl Into<String>No description available.
ParamField
impl Into<String>No description available.
Returns
ResponseField
()The result of the operation.