Helpers for merging provider usage metadata.
Summary
Functions
Adds :total_tokens when input and output token counters are available.
Merges two usage maps while summing numeric counters and preserving provider metadata.
Normalizes common usage counter keys and numeric counter values.
Functions
Adds :total_tokens when input and output token counters are available.
Merges two usage maps while summing numeric counters and preserving provider metadata.
Normalizes common usage counter keys and numeric counter values.