github Effect-TS/effect @effect/ai-openai@4.0.4

Patch Changes

  • #9008 cc843ea Thanks @effect-bot! - Add toolCallValidation: "deferred" for callers using disableToolCallResolution: true. Model-generated tool calls return with unknown parameters, including invalid parameters and undeclared tool names, even without a toolkit. Supported by the Anthropic, OpenAI, and OpenAI-compatible providers. Strict validation remains the default; provider-executed calls remain validated.

  • #9067 984b4ab Thanks @tim-smart! - Regenerate the OpenAI client from a pinned canonical specification. Fix composed schemas that collapsed to Schema.Never and preserve keys in maps and free-form objects.

    Public type changes in Generated:

    • Remove Realtime WebSocket event exports no longer referenced by HTTP operations. Rename multipart request bodies to *Multipart or *FormData.
    • Require fields specified upstream, including CreateImageRequest.model, AdminApiKey.expires_at, ProjectApiKey.owner_project_access, AssignedRoleDetails.assignment_sources and VoiceResource.type.
    • Type maps and free-form objects as records instead of {}. Metadata is now { readonly [x: string]: string } | null.
    • Make FineTuningJob a union of dpo, reinforcement and hyperparameters variants. Use WebSearchCallStatus for WebSearchToolCall.status.
  • #9075 de38e53 Thanks @tim-smart! - Accept OpenAI web search find_in_page actions without a URL while still requiring the search pattern.

  • Updated dependencies [7547a99, 711719d, 8f1ea52, c93485e, 37e088f, 9314666, a0a26b7, cc843ea, ab90be9, a59b971, fccf660, 1bfd8fd, 78e4c43, fde67a1, 118deef, cea74c9, b7c1ac6, f837966, 09738f4, 22e7129, fdcb47e, fc349a1, ab90be9, 892d14d, 077c557, 4a999a3, 797696a, cf5179b, e1c6053]:

    • effect@4.0.4

Don't miss a new effect release

NewReleases is sending notifications on new releases.