fix(openai): Simplify Completions input handling (#5690) · gitcommit90/sentry-python@5c970e7 · GitHub
Skip to content

Commit 5c970e7

Browse files
fix(openai): Simplify Completions input handling (getsentry#5690)
- Stop checking for sentinel values when setting the request model, because the model is required. - Replace `set_data_normalized` with `set_data` for parameters declared to have primitive types.
1 parent 06a706b commit 5c970e7

2 files changed

Lines changed: 108 additions & 12 deletions

File tree

sentry_sdk/integrations/openai.py

Lines changed: 8 additions & 12 deletions

tests/integrations/openai/test_openai.py

Lines changed: 100 additions & 0 deletions

0 commit comments

Comments
 (0)