FakeAgent constructor

FakeAgent({
  1. required String id,
  2. String billingMode = 'organization',
  3. String? credentialHolderId,
  4. String? reportedBillingMode,
  5. List<String>? billingModesSupported,
  6. String keyType = 'api_key',
  7. String? evidenceMethod = 'resolved_credentials',
  8. String state = 'online',
  9. String adapterKind = 'hermes',
  10. String toolClass = 'chat',
  11. String description = '',
})

Creates the agent of the principal id; every other value has the default of a fresh agent on the organization key with a runtime that is online.

Implementation

FakeAgent({
  required this.id,
  this.billingMode = 'organization',
  this.credentialHolderId,
  this.reportedBillingMode,
  this.billingModesSupported,
  this.keyType = 'api_key',
  this.evidenceMethod = 'resolved_credentials',
  this.state = 'online',
  this.adapterKind = 'hermes',
  this.toolClass = 'chat',
  this.description = '',
});