Driftwatch

OpenAI / OpenAI API /

Breaking

Response field compute_units removed

What changed

Reads of this field return undefined, and the failure surfaces wherever that value is used rather than at the call.

Affects ResponseUsageResource reachable from 1 operation.

Who is affected

Code that reads OpenAI's ResponseUsageResource objects, used by 1 OpenAI operation.

Before and after

WhereBeforeAfter
ResponseUsageResource.compute_unitspresentabsent

Code that breaks

// response.compute_units is now undefined
const compute_units = response.compute_units;

Based on OpenAI’s published API specification. How severity is decided.