Replies: 1 comment
-
Hi, thank you for raising this question! Please do not tag individual team members unless you really want to contact a specific person. You can override any existing tool function by rebinding them using DI and basically replace the implementation with whatever you want. However, if you use a custom agent, I would rather just create a completely new tool function implementing your custom behavior and provide this to your custom agent. The tool functions are mainly just wrappers to existing functionality (e.g. write a file), so I would not worry about reusing the existing ones to much, the function themselves are really not much code. Does this make sense to you? |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi Team @Luzifer @thegecko @gorkem @westbury @monaka ,
We are facing difficulty in overriding the functionality of tool functions which are bound to chatAgents like Coder or any custom Agent we create by saying the fact that these functions are browser based functions, not able to access these methods from code level to change/override the existing behaviour.
For instance, we've one custom Agent that receives data from an API, to handle that data to store it in some directory within the IDE workspace, we need to pass that value to one of the argument to this tool function: "changeSet_WriteToFile()". As of now we're unable to control that functionality like overriding the arguments value of those tool functions.
Beta Was this translation helpful? Give feedback.
All reactions