Description
the messages is list[str | SamplingMessage], it should be a Sequence so users dont get type errors if they pass a list[str] or a list[SamplingMessage] and the return type can only be text, audio, image, not all the types in ContentBlock
Example Code
Version Information
Description
the messages is
list[str | SamplingMessage], it should be a Sequence so users dont get type errors if they pass alist[str]or alist[SamplingMessage]and the return type can only be text, audio, image, not all the types in ContentBlockExample Code
Version Information