Commit 765b4bd
Skip analyzer agent when user preferences are None or empty (#2)
- Add check before calling ingredientAnalyzerAgent
- Check for null, empty string, or 'None' preferences
- This prevents unnecessary API calls and reduces failures
Fixes EIG-247
Co-authored-by: Cursor Agent <cursoragent@cursor.com>1 parent 1c9ac4d commit 765b4bd
1 file changed
+6
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
59 | 59 | | |
60 | 60 | | |
61 | 61 | | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
62 | 67 | | |
63 | | - | |
| 68 | + | |
64 | 69 | | |
65 | 70 | | |
66 | 71 | | |
| |||
0 commit comments