GuardrailCodeCallbackAfterAgentCallback constructor

const GuardrailCodeCallbackAfterAgentCallback({
  1. Input<String?>? description,
  2. Input<bool?>? disabled,
  3. required Input<String> pythonCode,
})

Creates a new GuardrailCodeCallbackAfterAgentCallback. description Human-readable description of the callback. disabled Whether the callback is disabled. Disabled callbacks are ignored by the pythonCode The python code to execute for the callback.

Implementation

const GuardrailCodeCallbackAfterAgentCallback({
  this.description,
  this.disabled,
  required this.pythonCode,
});