RemoveTurn

org.llm4s.agent.graph.toolloop.MessageUpdate.RemoveTurn
final case class RemoveTurn(id: String)

Removes the message id and every message after it: a turn's writes - the user input, the assistant messages, the tool calls and results, and the answer all come after the turn's user message. An output guardrail's Block commits it for the blocked turn, so no blocked content is kept and the next turn continues from the history before it. RemoveThrough is the opposite cut, dropping history up to a message.

Attributes

Members list

Value members

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product