You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Validate embedding_types elements before preserving them
The embedding_types merge only checked list-ness and non-emptiness, so a
caller extra containing non-string elements (e.g. [{"x": 1}]) was
preserved and would be sent as an invalid Cohere wire payload,
contradicting the "malformed falls back to [float]" comment. Require a
non-empty list of non-empty strings before preserving it; anything else
falls back to ["float"].
0 commit comments