Skip to content

chore(anthropic): Remove include_prompts parameter - #7635

Merged
alexander-alderman-webb merged 1 commit into
major/3.0from
webb/anthropic/remove-include-prompts
Sep 23, 2026
Merged

alexander-alderman-webb merged 1 commit into
major/3.0from
webb/anthropic/remove-include-prompts

Conversation

@alexander-alderman-webb

Copy link
Copy Markdown
Collaborator

Description

Remove the include_prompts parameter. The parameter allowed users to opt-out of collecting GenAI attributes while keeping send_default_pii=True. The parameter is ignored when data collection is used, and the major is dropping send_default_pii in favor of data collection.

Issues

Reminders

@github-actions

github-actions Bot commented Sep 23, 2026 •

Copy link
Copy Markdown
Contributor

Codecov Results 📊

✅ 66461 passed | ❌ 1 failed | ⏭️ 2995 skipped | Total: 69457 | Pass Rate: 95.69% | Execution Time: 192m 30s

📊 Comparison with Base Branch

Metric Change
Total Tests 📉 -68249
Passed Tests 📉 -64123
Failed Tests 📈 +1
Skipped Tests 📉 -4127

➕ New Tests (1)

View new tests
  • test_input_attributes_nonstreaming_chat[True-messages0-expected_system_instructions0-expected_input_messages0]
    • File: tests.integrations.mistral.test_mistral
    • Status: ❌ Failing

❌ Failed Tests

test_input_attributes_nonstreaming_chat[True-messages0-expected_system_instructions0-expected_input_messages0]

File: tests.integrations.mistral.test_mistral
Suite: py3.10-mistral-v2.0.5
Error: KeyError: 140679614124032

Stack Trace
tests/integrations/mistral/test_mistral.py:380: in test_input_attributes_nonstreaming_chat
    sentry_init(
tests/conftest.py:349: in inner
    client = sentry_sdk.Client(*a, **kw)
sentry_sdk/client.py:278: in __init__
    self._init_impl()
sentry_sdk/client.py:428: in _init_impl
    self.integrations = setup_integrations(
sentry_sdk/integrations/__init__.py:216: in setup_integrations
    for integration_cls in iter_default_integrations(
sentry_sdk/integrations/__init__.py:44: in iter_default_integrations
    yield getattr(import_module(module), cls)
/usr/lib/python3.10/importlib/__init__.py:126: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
<frozen importlib._bootstrap>:1050: in _gcd_import
    ???
<frozen importlib._bootstrap>:1024: in _find_and_load
    ???
<frozen importlib._bootstrap>:171: in __enter__
    ???
<frozen importlib._bootstrap>:123: in acquire
    ???
E   KeyError: 140679614124032

✅ Patch coverage is 100.00%. Project has 2093 uncovered lines.
❌ Project coverage is 90.1%. Comparing base (7332ada) to head (6f7ac10).

Coverage diff
@@            Coverage Diff             @@
##        master       #PR       +/-##
==========================================
- Coverage    90.22%    90.10%    -0.12%
==========================================
  Files          194       180       -14
  Lines        25997     21133     -4864
  Branches      9662      7644     -2018
==========================================
+ Hits         23454     19040     -4414
- Misses        2543      2093      -450
- Partials      1451      1200      -251

Generated by Codecov Action

@alexander-alderman-webb
alexander-alderman-webb force-pushed the webb/anthropic/remove-include-prompts branch from 658439d to 6f7ac10 Compare September 23, 2026 11:50
@alexander-alderman-webb
alexander-alderman-webb marked this pull request as ready for review September 23, 2026 11:51
@alexander-alderman-webb
alexander-alderman-webb requested a review from a team as a code owner September 23, 2026 11:51
@alexander-alderman-webb
alexander-alderman-webb merged commit 0dbe856 into major/3.0 Sep 23, 2026
145 of 147 checks passed
@alexander-alderman-webb
alexander-alderman-webb deleted the webb/anthropic/remove-include-prompts branch September 23, 2026 12:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants