fix code quality

This commit is contained in:
Ishaan Jaff 2024-11-21 17:27:31 -08:00
parent 8ce86e5159
commit 5533ba4b04

View file

@ -198,7 +198,7 @@ class AnthropicPassthroughLoggingHandler:
)
if litellm_chunk is not None:
all_openai_chunks.append(litellm_chunk)
except (StopIteration, StopAsyncIteration) as e:
except (StopIteration, StopAsyncIteration):
break
complete_streaming_response = litellm.stream_chunk_builder(
chunks=all_openai_chunks