Patch Changes
-
892af4d: feat (provider/xai): implement server-side realtime extensions
XaiRealtimeModelnow implementsgetServerWebSocketConfig(), returning the upstream voice realtime WebSocket URL (with themodelquery param) plus header auth derived from the model's configured credentials. Unsupported endpoint intents are rejected. The event mapper now populates normalizedusageonresponse-doneandinput-transcription-completedusing xAI's OpenAI-compatible realtime wire shape. -
41465fd: Expose optional transcription word timings separately from segments and accept shared timestampGranularities. Explicit provider timing settings take precedence. OpenAI now sends timestamp_granularities only with verbose_json and warns when a requested timing is unavailable or excluded.
-
2e44144: Support typed
output.uploadUrldelivery for video generation, editing, and extension. Polling returns an explicit uploaded outcome without downloading or exposing the signed destination, including in request errors. Use camelCaseoutput.uploadUrlinstead of rawoutput.upload_urlpassthrough; the new option rejects null and requires an HTTPS URL. -
Updated dependencies [36802d4]
-
Updated dependencies [e0143b0]
-
Updated dependencies [934100c]
-
Updated dependencies [892af4d]
-
Updated dependencies [89aff56]
-
Updated dependencies [41465fd]
-
Updated dependencies [9754014]
-
Updated dependencies [4bb73b0]
-
Updated dependencies [2e44144]
- @ai-sdk/provider@4.0.36
- @ai-sdk/provider-utils@5.0.75