Commit bebef8a
Tarek Mahmoud Sayed
Make RemoveKnownTools validate-then-commit for atomicity
Validate all tool names for null before removing any, matching the
all-or-nothing pattern used in AddKnownTools.1 parent c437f60 commit bebef8a
1 file changed
Lines changed: 6 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
692 | 692 | | |
693 | 693 | | |
694 | 694 | | |
695 | | - | |
| 695 | + | |
| 696 | + | |
| 697 | + | |
696 | 698 | | |
697 | 699 | | |
| 700 | + | |
698 | 701 | | |
| 702 | + | |
| 703 | + | |
699 | 704 | | |
700 | 705 | | |
701 | 706 | | |
| |||
0 commit comments