Commit 2b0db9f
authored
feat(anthropic): Gate output collection on data_collection option (#7121)
Output data (text and tool calls) is now gated on the data_collection
configuration, mirroring input collection behavior. When data_collection
is configured, its gen_ai.outputs setting is respected. When not
configured,
falls back to the legacy send_default_pii and include_prompts behavior.
Refs PY-25881 parent d03110e commit 2b0db9f
2 files changed
Lines changed: 908 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
606 | 606 | | |
607 | 607 | | |
608 | 608 | | |
609 | | - | |
| 609 | + | |
| 610 | + | |
| 611 | + | |
| 612 | + | |
| 613 | + | |
| 614 | + | |
| 615 | + | |
| 616 | + | |
| 617 | + | |
| 618 | + | |
610 | 619 | | |
611 | 620 | | |
612 | 621 | | |
| |||
0 commit comments