ai-chatbot icon indicating copy to clipboard operation
ai-chatbot copied to clipboard

remove pnpm-lock.yaml and update @ai-sdk/openai to resolve provider error

Open jb-dev1 opened this issue 1 year ago • 2 comments

Summary

This pull request solves a stale dependency @ai-sdk/[email protected] by deleting the pnpm-lock.yaml file and updating @ai-sdk/openai so newer providers can be added without error.

Issue

A workaround for vercel / ai #2537

Changes

  • Deleted pnpm-lock.yaml for a rebuild
  • Updated @ai-sdk/openai to 0.0.40 to resolve stale provider dependency
  • Verified that all tests pass with the updated dependency and @ai-sdk/anthropic can be added without error

Recommendation

Someone in Core please merge, regenerate pnpm-lock.yaml, and drop back to main ensuring @ai-sdk/provider: 0.0.11 no longer exists in public pnpm-lock.yaml so that newer packages like @ai-sdk/anthropic can be used without error.

jb-dev1 avatar Aug 03 '24 13:08 jb-dev1

Someone is attempting to deploy a commit to the Uncurated Tests Team on Vercel.

A member of the Team first needs to authorize it.

vercel[bot] avatar Aug 03 '24 13:08 vercel[bot]