Commit e6dee27
Use any() for more efficient model validation
Replaces list comprehension with any() generator expression to
short-circuit on first invalid model instead of iterating all items.
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>1 parent 0ead23a commit e6dee27
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
349 | 349 | | |
350 | 350 | | |
351 | 351 | | |
352 | | - | |
| 352 | + | |
353 | 353 | | |
354 | 354 | | |
355 | 355 | | |
0 commit comments