Resolving v0 internal knowledge conflicts with AI SDK v6 documentation

I am trying to build agents using the new AI SDK v6 (specifically the new Agent abstractions and ToolLoopAgent) with v0. I have set up my Project Rules, Custom Instructions, and even uploaded the new migration docs as sources.

However, v0 consistently reverts to SDK v5 patterns (for example older generateText implementations without the new agentic wrappers or deprecated tool definitions). The internal training data seems to completely overpower the context I provide. It is prioritizing the old v5 patterns it was trained on over the new docs I’m giving it.

It would be really helpful if the internal knowledge could be updated to support SDK v6. That would prevent the model from conflicting with the new documentation and make the integration much smoother.

Hi @erarevolusiindsutri, welcome to the Vercel Community!

Thanks for sharing your experience here. I’ll forward this feedback to our v0 team.

In the meantime, I can suggest that the best solution would be to have a rule like “Use AI SDK version 6” in Rules > Instructions and you can also add the https://ai-sdk.dev/llms.txt to the Project sources. I’d recommend following this community guide:

Hi @erarevolusiindsutri, I wanted to follow up regarding your issue with v0 reverting to SDK v5 patterns despite your configurations with AI SDK v6. Have you found a solution, or do you still require assistance on this matter? If so, could you provide any additional details regarding your configuration or any errors you may be encountering?

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.