Skip to content

@effect/ai-openai@4.0.0-beta.70

Pre-release
Pre-release

Choose a tag to compare

@effect-bot effect-bot released this 20 May 21:04
440505f

Patch Changes

  • #2224 74d8f37 Thanks @aniravi24! - Fix OpenAIFile schema decode failure on responses where expires_at and status_details are returned as literal null. The OpenAI files endpoint returns null (not omitted) for these fields when no expiration / status detail applies (e.g. uploads with purpose: "user_data"), but the upstream OpenAPI spec marks them only as optional. Codegen patches widen both fields to allow null, which now decodes cleanly via OpenAiClient.createFile, retrieveFile, listFiles, and any other endpoint returning the OpenAIFile shape.

  • Updated dependencies [af7782d, 7212d70]:

    • effect@4.0.0-beta.70