Currently the on_intermediate_message callback function can only see the args and response of the called plugins.
It would be great to be able to modify the args sent to the plugin, and modify its response.
As local plugins often use an llm, it would be really usefull for saving token usages returned by the plugin.
Many thanks