Commit cddb7d7
Make alert_explanation optional in alert_explanation_enricher (#2031)
Allow users to configure the action with only recommended_resolution
by making alert_explanation an Optional field. The enricher now skips
blocks for fields that are not provided and returns early if neither
field is set.
https://claude.ai/code/session_01NBPvBVC2yxLR27xuV5snLX
Co-authored-by: Claude <noreply@anthropic.com>1 parent 05324b8 commit cddb7d7
1 file changed
+8
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
189 | 189 | | |
190 | 190 | | |
191 | 191 | | |
192 | | - | |
| 192 | + | |
193 | 193 | | |
194 | 194 | | |
195 | 195 | | |
| |||
198 | 198 | | |
199 | 199 | | |
200 | 200 | | |
201 | | - | |
| 201 | + | |
| 202 | + | |
| 203 | + | |
202 | 204 | | |
203 | | - | |
204 | | - | |
| 205 | + | |
| 206 | + | |
205 | 207 | | |
206 | | - | |
| 208 | + | |
| 209 | + | |
207 | 210 | | |
208 | 211 | | |
209 | 212 | | |
| |||
0 commit comments