MessageUpdate

org.llm4s.agent.graph.toolloop.MessageUpdate

An operation on the message history, applied to the committed value in commit order.

Attributes

Graph
Supertypes
trait Enum
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Type members

Enum entries

final case class Append(message: StoredMessage)
final case class EditToolCall(messageId: String, toolCallId: String, arguments: Value)

Replaces one tool call's arguments in an assistant message - an edited approval. An operation rather than a whole-message Replace, so two edits to calls of one message in the same superstep both apply instead of the later overwriting the earlier.

Replaces one tool call's arguments in an assistant message - an edited approval. An operation rather than a whole-message Replace, so two edits to calls of one message in the same superstep both apply instead of the later overwriting the earlier.

Attributes

final case class RemoveThrough(id: String)
final case class Replace(id: String, message: StoredMessage)