withTurns method

AgentSessionDocumentPatch withTurns(
  1. int? value
)

Implementation

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