Changesets · Branches · Tags · Compare
| Changeset | c3e8fbcfb7526506b4a89aeeee51ce456f1cb5a6ebcbf53e3e66a591928a403e |
|---|---|
| Author | Nate Sesti <33237525+sestinj@users.noreply.github.com> · 2025-06-16 12:39 -07:00 |
| Committer | GitHub <noreply@github.com> · 2025-06-16 12:39 -07:00 |
| Parents | e15cb339b492, 4318c2648afb |
1 file changed
modified core/config/yaml/loadYaml.ts +4 −8
| @@ -153,13 +153,8 @@ | ||
| 153 | 153 | } |
| 154 | 154 | } |
| 155 | 155 | |
| 156 | - if (config) { | |
| 157 | - isAssistantUnrolledNonNullable(config) | |
| 158 | - ? errors.push(...validateConfigYaml(config)) | |
| 159 | - : errors.push({ | |
| 160 | - fatal: true, | |
| 161 | - message: "Assistant includes blocks that don't exist", | |
| 162 | - }); | |
| 156 | + if (config && isAssistantUnrolledNonNullable(config)) { | |
| 157 | + errors.push(...validateConfigYaml(config)); | |
| 163 | 158 | } |
| 164 | 159 | |
| 165 | 160 | if (errors?.some((error) => error.fatal)) { |
| @@ -223,7 +218,8 @@ | ||
| 223 | 218 | config: continueConfig, |
| 224 | 219 | errors: [ |
| 225 | 220 | { |
| 226 | - message: "Found missing blocks in config.yaml", | |
| 221 | + message: | |
| 222 | + "Failed to load config due to missing blocks, see which blocks are missing below", | |
| 227 | 223 | fatal: true, |
| 228 | 224 | }, |
| 229 | 225 | ], |