Skip to content

Commit e04174e

Browse files
committed
steaming
1 parent 14baf6c commit e04174e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sentry_sdk/integrations/openai.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,7 @@ def _set_input_data(span, kwargs, operation, integration):
182182
# Input attributes: Optional
183183
kwargs_keys_to_attributes = {
184184
"model": SPANDATA.GEN_AI_REQUEST_MODEL,
185-
"stream": SPANDATA.AI_STREAMING,
185+
"stream": SPANDATA.GEN_AI_RESPONSE_STREAMING,
186186
"max_tokens": SPANDATA.GEN_AI_REQUEST_MAX_TOKENS,
187187
"presence_penalty": SPANDATA.GEN_AI_REQUEST_PRESENCE_PENALTY,
188188
"frequency_penalty": SPANDATA.GEN_AI_REQUEST_FREQUENCY_PENALTY,

0 commit comments

Comments
 (0)