MiddleOut
org.llm4s.agent.PruningStrategy.MiddleOut
case object MiddleOut extends PruningStrategy
Remove messages from the middle, keeping start and end. Useful for preserving both initial context and recent exchanges.
Attributes
- Graph
-
- Supertypes
-
trait Singletontrait Producttrait Mirrortrait Serializabletrait Producttrait Equalstrait PruningStrategyclass Objecttrait Matchableclass Any
- Self type
-
MiddleOut.type
Members list
In this article