We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent aa1dbfa commit 31769eeCopy full SHA for 31769ee
1 file changed
sentry_sdk/integrations/cohere/v1.py
@@ -91,10 +91,9 @@ def new_chat(*args, **kwargs):
91
92
if streaming:
93
return _iter_stream_events(response, span, include_pii)
94
- else:
95
- set_response_span_data(
96
- span, response, include_pii, COHERE_V1_CHAT_CONFIG["response"]
97
- )
+ set_response_span_data(
+ span, response, include_pii, COHERE_V1_CHAT_CONFIG["response"]
+ )
98
return response
99
100
return new_chat
0 commit comments