Lars Grammel

Results 105 comments of Lars Grammel

There is currently no vertex provider. You could implement a Google Vertex provider using the custom provider approach: https://sdk.vercel.ai/providers/community-providers/custom-providers

@Iven2132 @shaded-blue which next.js versions are you using? I just tested the example on the latest next js and it worked for me.

@Iven2132 hm I'm using the same. Can you share your `layout.tsx` content as well?

Strange. Here is my working setup: actions.tsx ```ts 'use server'; import { createStreamableValue } from 'ai/rsc'; import { CoreMessage, streamText } from 'ai'; import { openai } from '@ai-sdk/openai'; export...

i've modified `examples/next-ai-rsc` locally with the changes above

Here's the branch: https://github.com/vercel/ai/tree/lg/issue-1501/examples/next-ai-rsc

@liuhuapiaoyuan can you provide an example of a provider that does not support the `object` field?

A possible solution could be to introduce a "fixMode" property on `streamObject` (or something like it) with the following settings: - `always`: always try to fix the JSON. Will lead...

I've updated the assistant response as part of a different pull request. Is this still valid?

Fix: https://github.com/vercel/ai/pull/1406