Normandy.Agents.Dispatch.Pipeline
(normandy v2.2.0)
View Source
Carries the behaviour functions the chokepoint consults.
Summary
Types
@type t() :: %Normandy.Agents.Dispatch.Pipeline{ after_hooks: [function()], after_tool: (map(), Normandy.Components.ToolCall.t(), Normandy.Components.ToolResult.t() -> Normandy.Components.ToolResult.t()) | nil, before_hooks: [function()], budget_check_fn: function(), budget_record_fn: function(), execute_fn: (map(), Normandy.Agents.Dispatch.Invocation.t(), String.t() -> Normandy.Tools.Executor.execution_result()) | (map(), Normandy.Agents.Dispatch.Invocation.t(), String.t(), Normandy.Components.ToolCall.t() -> Normandy.Tools.Executor.execution_result()), policy_fn: function() }