Commit 8172232
authored
fix: honor __api_exclude__ in async transform path (#1612)
The sync transform path was updated to pass `exclude=getattr(data,
"__api_exclude__", None)` to `model_dump()`, but the async path was
missed. This caused `parsed_output` to leak into API requests when
using the async client for multi-turn structured output conversations,
resulting in a 400 error.
Closes #16101 parent d7c0974 commit 8172232
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
384 | 384 | | |
385 | 385 | | |
386 | 386 | | |
387 | | - | |
| 387 | + | |
388 | 388 | | |
389 | 389 | | |
390 | 390 | | |
| |||
0 commit comments