Commit 5ae0188
committed
Fix MCP search_memory NoneType iteration error
- Fix boolean logic in ACL filter check
- Change from 'if allowed and h.id is None or h.id not in allowed' to 'if allowed is not None and h.id not in allowed'
- Prevents TypeError when allowed set exists but is checked incorrectly1 parent 1090784 commit 5ae0188
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
184 | 184 | | |
185 | 185 | | |
186 | 186 | | |
187 | | - | |
| 187 | + | |
188 | 188 | | |
189 | 189 | | |
190 | 190 | | |
| |||
0 commit comments