- Notifications
You must be signed in to change notification settings - Fork3.2k
Commit820ce1e
refactor(gists): migrate gists.go to NewTool pattern
Convert all gist tools (ListGists, GetGist, CreateGist, UpdateGist)to use the new NewTool helper with ToolDependencies injection.- Remove getClient parameter from function signatures- Use deps.GetClient(ctx) inside handlers- Standardize error handling with utils.NewToolResultErrorFromErr()- Update all tests to use serverTool.Handler(deps) patternCo-authored-by: Adam Holt <omgitsads@users.noreply.github.com>1 parent07249a0 commit820ce1e
3 files changed
+376
-375
lines changed0 commit comments
Comments
(0)