Commit 069a177
Reverse merge V0.176.4 hotfix (#2112)
* UN-3621 [HOTFIX] Structure tool no longer crashes when single-pass extraction returns a non-object output (#2110)
UN-3621 [FIX] Guard structure pipeline against non-dict single-pass output
Single-pass extraction can return a top-level JSON array (e.g. a truncated/
runaway LLM response that hit its output-token cap). The parsed `output` is
then a list, and _handle_structure_pipeline called `.values()` on it
unconditionally, raising an opaque `AttributeError: 'list' object has no
attribute 'values'` that failed the file with no actionable signal.
Guard the output shape: if it isn't a dict, return a clear ExecutionResult
failure naming the likely cause instead of crashing, and stop the malformed
payload from flowing downstream as a success.
Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
* [HOTFIX] Raise URLValidator max_length to 8192 for long S3 presigned URLs (#2111)
---------
Co-authored-by: Kirtiman Mishra <110175055+kirtimanmishrazipstack@users.noreply.github.com>
Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>1 parent 6b3cfab commit 069a177
2 files changed
Lines changed: 20 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
| 18 | + | |
18 | 19 | | |
19 | 20 | | |
20 | 21 | | |
21 | 22 | | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
22 | 29 | | |
23 | 30 | | |
24 | 31 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
703 | 703 | | |
704 | 704 | | |
705 | 705 | | |
| 706 | + | |
| 707 | + | |
| 708 | + | |
| 709 | + | |
| 710 | + | |
| 711 | + | |
| 712 | + | |
| 713 | + | |
| 714 | + | |
| 715 | + | |
| 716 | + | |
| 717 | + | |
| 718 | + | |
706 | 719 | | |
707 | 720 | | |
708 | 721 | | |
| |||
0 commit comments