ai.events.merge_usage
Add every entry of `from` into `into`, summing the counts of a model both list. A nullable count stays null only when both sides are null. `into` keeps one entry per model, in the order models first appear.
Reference version
Signature
function ai.events.merge_usage(
into: ai.events.ModelUsage[],
from: ai.events.ModelUsage[]
) -> null throws never
Add every entry of from into into, summing the counts of a model both
list. A nullable count stays null only when both sides are null. into
keeps one entry per model, in the order models first appear.
Source:<builtin>/ai/ns_events/events.bamlbytes 5074–5726