withStatus method

Implementation

AgentSessionDocumentPatch withStatus(AgentSessionStatus value) {
  return AgentSessionDocumentPatch(
    id: this.id,
    status: PatchValue.set(value),
    messages: this.messages,
    toolCalls: this.toolCalls,
    activeTool: this.activeTool,
    turns: this.turns,
  );
}