Skip to main content

Module function_call_modifier

Module function_call_modifier 

Source
Expand description

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.

Structs§

FunctionCallModifierConfig
The configuration of the function-call-modifier plugin.

Functions§

new_function_call_modifier_plugin
Builds the plugin (construction never fails): a plugin named FunctionCallModifierPlugin with a before-model and an after-model callback.