Skip to content

Conversation

@constantinius
Copy link
Contributor

Description

Use "gen_ai.embeddings.input" instead of "gen_ai.request.messages" when doing embeddings.

Issues

Closes https://linear.app/getsentry/issue/TET-1462/fix-embedding-support-for-openai

Reminders

@constantinius constantinius requested a review from a team as a code owner November 19, 2025 18:50
@linear
Copy link

linear bot commented Nov 19, 2025

@constantinius constantinius requested a review from a team November 19, 2025 18:50
@codecov
Copy link

codecov bot commented Nov 19, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 83.98%. Comparing base (14aff96) to head (62ef327).
⚠️ Report is 6 commits behind head on master.
✅ All tests successful. No failed tests found.

Additional details and impacted files
@@             Coverage Diff             @@
##           master    #5121       +/-   ##
===========================================
+ Coverage   70.55%   83.98%   +13.43%     
===========================================
  Files         180      180               
  Lines       18077    18081        +4     
  Branches     3008     3216      +208     
===========================================
+ Hits        12754    15186     +2432     
+ Misses       4432     1914     -2518     
- Partials      891      981       +90     
Files with missing lines Coverage Δ
sentry_sdk/consts.py 99.41% <100.00%> (+<0.01%) ⬆️
sentry_sdk/integrations/openai.py 84.91% <100.00%> (+0.07%) ⬆️

... and 68 files with indirect coverage changes

@constantinius constantinius merged commit 145773b into master Nov 20, 2025
133 checks passed
@constantinius constantinius deleted the constantinius/feat/integrations/openai-genai-embeddings branch November 20, 2025 10:11
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.

3 participants