Commit 8d47cfe
committed
fix: move server.run() to end of file to register all 13 tools
- Bug: if __name__ == '__main__': server.run() was at line 602 (mid-file)
causing tools 9-13 (create_user, list_users, delete_user,
manage_workspace, annotator_stats) to never be registered.
- Fix: moved entry point to after all @server.tool() decorators.1 parent 8b5c093 commit 8d47cfe
1 file changed
Lines changed: 7 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
599 | 599 | | |
600 | 600 | | |
601 | 601 | | |
602 | | - | |
603 | | - | |
604 | | - | |
605 | | - | |
606 | 602 | | |
607 | 603 | | |
608 | 604 | | |
| |||
779 | 775 | | |
780 | 776 | | |
781 | 777 | | |
| 778 | + | |
| 779 | + | |
| 780 | + | |
| 781 | + | |
| 782 | + | |
| 783 | + | |
| 784 | + | |
0 commit comments