Skip to content

@ai-sdk/xai@4.0.52

Choose a tag to compare

@github-actions github-actions released this 01 Sep 18:34
· 14 commits to main since this release
3bd0fcf

Patch Changes

  • f1513f0: feat(xai): implement getFileMetadata, downloadFile (streaming), and deleteFile on the xAI files interface, support expiresAfter upload TTLs (integer 3600–2592000 seconds, emitted before the file part as xAI requires) and streaming uploads via { type: 'stream' } data, expose byteSize/createdAt/expiresAt on upload results, and thread abortSignal/headers through all file operations; blank and dot-segment file ids are rejected/encoded so they cannot retarget request paths
  • Updated dependencies [5190b67]
    • @ai-sdk/provider@4.0.10
    • @ai-sdk/provider-utils@5.0.35