RecentTurnsOnly
org.llm4s.agent.PruningStrategy.RecentTurnsOnly
case class RecentTurnsOnly(turns: Int) extends PruningStrategy
Keep only the most recent N complete turns (user+assistant pairs). Drops everything older than the specified number of turns.
Value parameters
- turns
-
Number of recent turns to keep
Attributes
- Graph
-
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait PruningStrategyclass Objecttrait Matchableclass Any
Members list
In this article