withMessages method

AgentSessionDocumentPatch withMessages(
  1. List<AgentMessage>? value
)

Implementation

AgentSessionDocumentPatch withMessages(List<AgentMessage>? value) {
  return AgentSessionDocumentPatch(
    id: this.id,
    status: this.status,
    messages: PatchValue.set(value),
    toolCalls: this.toolCalls,
    activeTool: this.activeTool,
    turns: this.turns,
  );
}