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
Changed: ToolContext::NAME from associated const to method
- Replace `const NAME: &'static str` with `fn name(&self) -> &'static str` in the ToolContext trait
- Makes the trait object-safe, enabling `Box<dyn ToolContext>` for custom-tools feature
- Update all tool implementations: read, write, edit, glob, grep, bash, webfetch, todo read/write, task
- Update SystemPromptBuilder::track() to use tool.name() instead of T::NAME
- Update all doc examples and mock tools
- Add object-safety test proving Box<dyn ToolContext> construction works
- Silence doc lint warning on api_type field in provider-config
0 commit comments