Skip to main content

ContextAgent

Defined in the specialized module.
Rust AI Agent SDK Context agent for managing conversation context

Fields

Methods

new

Create a new context agent Parameters:

add

Add an entry to context Parameters:

get_context

Get context as messages

clear

Clear context

len

Get context length

is_empty

Check if context is empty

Source

View on GitHub

praisonai/src/parity/specialized.rs at line 46

Rust Agent

Rust Overview

Rust Quickstart

Rust Installation

Rust Autonomy