File tree Expand file tree Collapse file tree 1 file changed +4
-0
lines changed
Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -372,6 +372,8 @@ def _wrap_synchronous_message_iterator(
372372 response_id = None
373373
374374 for event in iterator :
375+ # Message and content types are aliases for corresponding Raw* types, introduced in
376+ # https://github.com/anthropics/anthropic-sdk-python/commit/bc9d11cd2addec6976c46db10b7c89a8c276101a
375377 if not isinstance (
376378 event ,
377379 (
@@ -437,6 +439,8 @@ async def _wrap_asynchronous_message_iterator(
437439 response_id = None
438440
439441 async for event in iterator :
442+ # Message and content types are aliases for corresponding Raw* types, introduced in
443+ # https://github.com/anthropics/anthropic-sdk-python/commit/bc9d11cd2addec6976c46db10b7c89a8c276101a
440444 if not isinstance (
441445 event ,
442446 (
You can’t perform that action at this time.
0 commit comments