Skip to content

@ai-sdk/openai@4.0.119

Choose a tag to compare

@github-actions github-actions released this 17 Nov 18:42
· 3 commits to main since this release
f35668b

Patch Changes

  • 5aa836f: fix(openai): send additionalTools definitions only for tools registered in the request

    additionalTools entries can come from replayed, client-supplied conversation history. The Responses provider now uses an entry only to select a tool registered in the call's tools and sends the definition derived from that tool: its description, input schema, strict setting, and deferLoading option instead of the values in the history. Entries for tools that are not registered are dropped with a warning, and a namespace entry loads only the registered tools it names.

  • Updated dependencies [10ff0b1]

  • Updated dependencies [e878ab3]

  • Updated dependencies [d99098a]

    • @ai-sdk/provider@4.0.39
    • @ai-sdk/provider-utils@5.0.82