Skip to content

Commit c50ba8d

Browse files
committed
Always call done stream callback
1 parent 5e313b1 commit c50ba8d

File tree

1 file changed

+2
-1
lines changed
  • instrumentation/opentelemetry-instrumentation-botocore/src/opentelemetry/instrumentation/botocore/extensions

1 file changed

+2
-1
lines changed

instrumentation/opentelemetry-instrumentation-botocore/src/opentelemetry/instrumentation/botocore/extensions/bedrock_utils.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -285,7 +285,8 @@ def _process_anthropic_claude_chunk(self, chunk):
285285
self._response["output"] = {"message": self._message}
286286
self._record_message = False
287287
self._message = None
288-
self._stream_done_callback(self._response)
288+
289+
self._stream_done_callback(self._response)
289290
return
290291

291292

0 commit comments

Comments
 (0)