fix: pass down id to append
This commit is contained in:
parent
fd99ff634f
commit
92309d77ec
4 changed files with 14 additions and 6 deletions
|
|
@ -16,7 +16,10 @@ export function Chat({ id, initialMessages, className }: ChatProps) {
|
|||
const { messages, append, reload, stop, isLoading, input, setInput } =
|
||||
useChat({
|
||||
initialMessages,
|
||||
id
|
||||
id,
|
||||
body: {
|
||||
id
|
||||
}
|
||||
})
|
||||
|
||||
return (
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue