ai-connector@0.0.9
·
7224 commits
to main
since this release
Patch Changes
- 78477d3: - Create
/reactsub-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
settosetMessagesandsetCompletionto unify the API naming as we havesetInputtoo. - Added an
sendExtraMessageFieldsfield touseChatthat defaults tofalse, to prevent OpenAI errors whenidis not filtered out.
- Create
- c4c1be3: useCompletion.handleSubmit does not clear the input anymore
- 7de2185: create /react export