Commit 23a9134
fix(python): use 'is not None' check for excluded_tools in session methods (#596)
Fix truthy check for excluded_tools in create_session and resume_session
that silently dropped empty lists ([]), preventing callers from explicitly
clearing excluded tools.
This is the remaining half of #487 — available_tools was already fixed.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>1 parent 8e61e9b commit 23a9134
1 file changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
497 | 497 | | |
498 | 498 | | |
499 | 499 | | |
500 | | - | |
| 500 | + | |
501 | 501 | | |
502 | 502 | | |
503 | 503 | | |
| |||
675 | 675 | | |
676 | 676 | | |
677 | 677 | | |
678 | | - | |
| 678 | + | |
679 | 679 | | |
680 | 680 | | |
681 | 681 | | |
| |||
0 commit comments