AiWorkflowContext constructor

const AiWorkflowContext({
  1. String? userId,
  2. String? tenantId,
  3. String? threadId,
  4. Map<String, dynamic> input = const {},
  5. Context? requestContext,
  6. Map<String, dynamic> metadata = const {},
  7. Map<String, dynamic> artifacts = const {},
  8. String? runId,
  9. bool isBackground = false,
})

Implementation

const AiWorkflowContext({
  this.userId,
  this.tenantId,
  this.threadId,
  this.input = const {},
  this.requestContext,
  this.metadata = const {},
  this.artifacts = const {},
  this.runId,
  this.isBackground = false,
});