Commit 3a369dd
fix(chain): correct multi-hop detection for hops=None from JSON
The check `getattr(op, 'hops', 1) != 1` incorrectly detected multi-hop
when hops was None (from JSON deserialization), since None != 1 is True.
Fixed to explicitly check for non-None and non-1 values.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>1 parent b8d1e8e commit 3a369dd
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
225 | 225 | | |
226 | 226 | | |
227 | 227 | | |
228 | | - | |
| 228 | + | |
229 | 229 | | |
230 | 230 | | |
231 | 231 | | |
| |||
0 commit comments