github vercel/ai ai-connector@0.0.9

latest releases: @ai-sdk/mistral@0.0.41, @ai-sdk/vue@0.0.50, ai@3.3.41...
15 months ago

Patch Changes

  • 78477d3: - Create /react sub-package.
    • Create import { useChat, useCompletion } from 'ai-connector/react' and mark React as an optional peer dependency so we can add more framework support in the future.
    • Also renamed set to setMessages and setCompletion to unify the API naming as we have setInput too.
    • Added an sendExtraMessageFields field to useChat that defaults to false, to prevent OpenAI errors when id is not filtered out.
  • c4c1be3: useCompletion.handleSubmit does not clear the input anymore
  • 7de2185: create /react export

Don't miss a new ai release

NewReleases is sending notifications on new releases.