withTurns method
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),
);
}