Commit 9ecc34a
fix(pkg-py): Pass client method reference instead of calling it
Follow-up to #188. Passing self.client() (calling the method) resulted
in tools being registered twice - once in client() and again in
mod_server - causing "Tool already registered" error.
The fix: pass self.client (method reference) so mod_server can call it
with the update_dashboard and reset_dashboard callbacks.
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>1 parent 492dd0e commit 9ecc34a
1 file changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
143 | 143 | | |
144 | 144 | | |
145 | 145 | | |
146 | | - | |
| 146 | + | |
147 | 147 | | |
148 | 148 | | |
149 | 149 | | |
| |||
809 | 809 | | |
810 | 810 | | |
811 | 811 | | |
812 | | - | |
| 812 | + | |
813 | 813 | | |
814 | 814 | | |
815 | 815 | | |
| |||
0 commit comments