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
fix(cortex-engine): align tool handler names with registry expectations (#237)
The ToolHandler::name() method for several handlers returned incorrect values,
causing 'Tool not implemented' errors when the registry looked up handlers by name:
- LocalShellHandler: 'Shell' -> 'Execute' (registered as 'Execute')
- GrepHandler: 'Search' -> 'Grep' (registered as 'Grep')
- GlobHandler: 'Find' -> 'Glob' (registered as 'Glob')
- FetchUrlHandler: 'Fetch' -> 'FetchUrl' (registered as 'FetchUrl')
The handler names must match the keys used in the handlers HashMap for proper
dispatch in ToolRegistry::execute_with_context().
Co-authored-by: Droid Agent <droid@factory.ai>
0 commit comments