You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If you're using Kimi K2 through OpenRouter, and it tries to use any tools, you'll see this error:
*Would copy paste it instead of screenshotting it, but can't due to #927.
The error seems to say that the delta from OpenRouter is being validated (why is unknown), and during validation, it's surprised that "type" is not "function" (there is currently no other "type" than "function" so this is needlessly unforgiving).
*This is technically due to "something wrong" with Novita, the fact that their "type" is incorrect. We will need to wait for either OpenRouter to special case this or for the AI SDK to resolve this.
imakesound, youngtai, timmhirsens, yabirgb, michabbb and 10 more