-
-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Closed
Closed
Copy link
Labels
javascriptPull requests that update javascript codePull requests that update javascript code
Description
For gen_ai.* spans in the corresponding integrations in javascript, we will introduce a new hard limit for the size of the messages attribute (gen_ai.request.messages and gen_ai.output.messages). The limit should be a maximum size limit in bytes that ensures envelop size does not go over the limit that works for ingestion. This limit is to be defined. This should be implemented by counting bytes in the SDKs, and truncating the oldest messages first, until the list of messages fits inside the limit.
Update both vercel.ai.prompt and gen_ai.request.messages
Limit will be set for 20KB for now.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
javascriptPull requests that update javascript codePull requests that update javascript code
Fields
Give feedbackNo fields configured for issues without a type.
Projects
Status
No status