You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I started planning out an implementation to add ripgrep as an AI tool to let the agent search your codebase.
I noticed tools are kind of a leaky abstraction. They kind of have an interface defined but the tool manager is stacks of case statements with deep knowledge of how each tool works.
If you plan on adding more tools you might have a better time by defining a contract for what a tool can do and remove all knowledge of tools from tool manager other than a list of tools and the plugs for the interface.
The text was updated successfully, but these errors were encountered:
I started planning out an implementation to add ripgrep as an AI tool to let the agent search your codebase.
I noticed tools are kind of a leaky abstraction. They kind of have an interface defined but the tool manager is stacks of case statements with deep knowledge of how each tool works.
If you plan on adding more tools you might have a better time by defining a contract for what a tool can do and remove all knowledge of tools from tool manager other than a list of tools and the plugs for the interface.
The text was updated successfully, but these errors were encountered: