Max Leiter

Results 214 comments of Max Leiter

@messenjer are you still going to look into this?

no worries @messenjer, thanks for looking into it and your contibution. Best of luck with the new job!

Is https://github.com/MaxLeiter/sortablejs-vue3#using-plugins not sufficient?

Can you not create a `getBody()` function or some equivalent? ``` useChat({ body: getBody() }) ```

Ah yeah I was rushing, sorry -- body should be changed to accept a function. Would you like to submit a PR?

In each of the `use-chat` files (so for react, solid, vue, svelte) there's this line https://github.com/vercel/ai/blob/d6b8948dafdd06eb170ac4cdd8b72d3e8f7f410f/packages/core/vue/use-chat.ts#L123C16-L123C16 ``` ...body, ...options?.body ``` If you adjust the types of `body` (in `shared/types.ts`) to...

Finished by switching to radix-ui and custom styling

Thanks @woodbridge. I haven't taken a close look yet but it seems like there's a typescript error: ``` Error: react/use-chat.ts(308,28): error TS7015: Element implicitly has an 'any' type because index...