Skip to content

feat(openai): Deprecate include_prompts parameter in favour of data_collection options - #7034

Open
ericapisani wants to merge 1 commit into
masterfrom
py-2588-deprecate-include-prompts-for-data-collection
Open

feat(openai): Deprecate include_prompts parameter in favour of data_collection options#7034
ericapisani wants to merge 1 commit into
masterfrom
py-2588-deprecate-include-prompts-for-data-collection

Conversation

@ericapisani

Copy link
Copy Markdown
Member

Gate prompt-related data collection behind the new data_collection configuration. The include_prompts parameter remains for backwards compatibility but is now superseded by data_collection.gen_ai.inputs. Tool definitions continue to be collected based on data_collection settings to support existing monitoring.

Replaces #6981

Refs PY-2588

…ollection options

Gate prompt-related data collection behind the new data_collection configuration.
The include_prompts parameter remains for backwards compatibility but is now
superseded by data_collection.gen_ai.inputs. Tool definitions continue to be
collected based on data_collection settings to support existing monitoring.

Refs PY-2588
@ericapisani
ericapisani requested a review from a team as a code owner August 4, 2026 19:06
@linear-code

linear-code Bot commented Aug 4, 2026

Copy link
Copy Markdown

PY-2588

Comment thread sentry_sdk/integrations/openai.py
@github-actions

github-actions Bot commented Aug 4, 2026

Copy link
Copy Markdown
Contributor

Codecov Results 📊

96702 passed | ⏭️ 6191 skipped | Total: 102893 | Pass Rate: 93.98% | Execution Time: 346m 24s

📊 Comparison with Base Branch

Metric Change
Total Tests 📉 -320
Passed Tests 📉 -272
Failed Tests
Skipped Tests 📉 -48

All tests are passing successfully.

✅ Patch coverage is 100.00%. Project has 2499 uncovered lines.
✅ Project coverage is 89.93%. Comparing base (base) to head (head).

Coverage diff
@@            Coverage Diff             @@
##          main       #PR       +/-##
==========================================
+ Coverage    89.90%    89.93%    +0.03%
==========================================
  Files          193       193         —
  Lines        24828     24822        -6
  Branches      8930      8924        -6
==========================================
+ Hits         22322     22323        +1
- Misses        2506      2499        -7
- Partials      1416      1416         —

Generated by Codecov Action

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