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
Instead of keeping as many messages as fit into our limit, we now discard everything but the newest message. So the result is an array of messages with one item. This remaining messages optionally gets truncated if it exceeds the byte limit.
So far embeddings went through the same truncation logic as other messages. From now on embeddings should be set as gen_ai.embeddings.input and not be truncated.