Zhipu GLM-V (GitHub)
· China Labs
Fix ensure_list splitting str/bytes into characters
Fix ensure_list splitting str/bytes into characters ensure_list is meant to normalize a single value or a sequence into a list, but str and bytes are themselves Sequence subclasses, so a single string was split into one-character elements instead of wrapped as ["the string"]. This misfires on the documented Union[Seque