github vercel/ai ai-connector@0.0.9

latest releases: @ai-sdk/react@1.0.0-canary.6, @ai-sdk/ui-utils@1.0.0-canary.6, @ai-sdk/swarm@0.0.9-canary.8...
17 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.