Patch Changes
-
648c8f3: fix(xai): make usage nullable in responses schema for streaming compatibility
xAI sends
usage: nullin early streaming events (response.created,response.in_progress) because token counts aren't available until the stream completes. This change makes theusagefield nullish inxaiResponsesResponseSchemato accept these values without validation errors.