Skip to main content

Module plugin

Module plugin 

Source
Expand description

Built-in plugins.

Re-exports§

pub use function_call_modifier::*;
pub use logging::*;
pub use retry_and_reflect::*;

Modules§

function_call_modifier
A plugin that adds configured arguments to selected tools’ declarations before each model call. After the call it moves those arguments out of the model’s function calls into session state under <function_call_id>/<arg>, so the tools never see them.
logging
A plugin that logs key invocation activity (user messages, agent and model activity, tool calls, events and errors) for terminal debugging.
retry_and_reflect
A plugin that turns tool failures into reflection guidance for the model. It counts consecutive failures per tool within a scope (one invocation, or global), and after max_retries failures tells the model to stop using the tool, or returns the original error.