Shu Ding
Shu Ding
Card is currently not a built-in component. We currently only have Callout and Tabs supported: https://nextra.site/docs/docs-theme/built-ins But we plan to add more in the future, including Cards and Steps.
Ah got it! @promer94 thanks!
I think you can call `append` manually with `role` set to `'assistant'`?
It seems like we need a new option in `reload` to explicitly send a request without removing the last assistant response. For example `reload({ removeLastAssistantMessage: true })`. Need a better...
Love the idea from @pomber, vote for this: ```js reload({ transform: (messages) => newMessages }) ``` So we can have other options added in the future. PR welcome!
What do you think about calling it onFunctionCall instead to be aligned with other APIs?
Currently `OpenAIStream(res)` throws with this error if `res.status` isn't 2xx. This means that the response from the AI provider (like OpenAI) was already errored. As an enhancement, we need to...
@sirlolcat Love that idea! Would you be willing to open a PR for it?
Hey @sirlolcat just check in to see if you are able to make that change that applies this to all `AIStream`s? I can also do that part and get this...
The `useChat` hook accepts a `body` field for as the extra request body ([docs](https://sdk.vercel.ai/docs/api-reference/use-chat#use-chat-options)): ```js useChat({ body: { maxTokens: Number(gpt3Length), temperature: Number(gpt3Temperature), topP: Number(gpt3TopP), presencePenalty: Number(gpt3PresencePenalty), frequencyPenalty: Number(gpt3FrequencyPenalty), } })...