Repository navigation
Commit 8aacf55
authored
fix(anthropic): Stop unpacking output arrays (#8160)
The specific problem this fixes is text output parts that are JSON. These are returned when the user of the `anthropic` package provides a custom JSON schema to the model request. The product cannot render this format for `gen_ai.response.text`.1 parent 84934fe commit 8aacf55
2 files changed
Lines changed: 154 additions & 134 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
710 | 710 | | |
711 | 711 | | |
712 | 712 | | |
713 | | - | |
| 713 | + | |
| 714 | + | |
| 715 | + | |
| 716 | + | |
714 | 717 | | |
715 | 718 | | |
716 | 719 | | |
| |||
0 commit comments