Commit 8a4198c
ref(server-utils): Remove array JSON-stringify fallback in Vercel AI integration (#23102)
We now support arrays so we don't need this fallback stringification for
any arrays in vercel. Conventions still require the attributes that we
send to be strings so keeping the explicit attribute stringifications
and adding one for the `finish_reason` so we preserve the format.
Fixes #20863
Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>1 parent 64bf6e2 commit 8a4198c
1 file changed
Lines changed: 5 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
| 20 | + | |
20 | 21 | | |
21 | 22 | | |
22 | 23 | | |
| |||
334 | 335 | | |
335 | 336 | | |
336 | 337 | | |
| 338 | + | |
| 339 | + | |
| 340 | + | |
| 341 | + | |
337 | 342 | | |
338 | 343 | | |
339 | 344 | | |
340 | | - | |
341 | | - | |
342 | | - | |
343 | | - | |
344 | | - | |
345 | 345 | | |
346 | 346 | | |
347 | 347 | | |
| |||
0 commit comments