fix: explicitly add remember_memory tool in the instructions/system prompt (#965)

This commit is contained in:
Wendy Tang
2025-01-31 09:17:16 -08:00
committed by GitHub
parent 5f6c85d7bd
commit 31e0b72b4f
2 changed files with 11 additions and 0 deletions
+2
View File
@@ -23,6 +23,8 @@ pub trait TruncationStrategy {
/// Strategy to truncate messages by removing the oldest first
pub struct OldestFirstTruncation;
/// Strategy to truncate messages explicitly
pub struct ExplicitTruncation;
impl TruncationStrategy for OldestFirstTruncation {
fn determine_indices_to_remove(