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
I've been using the Vercel AI SDK to integrate multiple AI providers. The integration works well with providers like OpenAI and Groq, but I'm encountering an issue when trying to add support for Together AI, which is also OpenAI API compatible.
this implemention doesnt seem to work , when i use StreamUi function with TogetherAi i get this eror
⨯ ..\core\util\retry-with-exponential-backoff.ts (51:13) @ _retryWithExponentialBackoff
⨯ AI_RetryError: Failed after 4 attempts. Last error: (unknown path) [Line 6, Column 28]
Error: Unable to call `message["content"]["trim"]`, which is undefined or falsey
at async $$ACTION_0 (./lib/chat/actions.tsx:76:20)
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I've been using the Vercel AI SDK to integrate multiple AI providers. The integration works well with providers like OpenAI and Groq, but I'm encountering an issue when trying to add support for Together AI, which is also OpenAI API compatible.
this implemention doesnt seem to work , when i use StreamUi function with TogetherAi i get this eror
is there any solutions for this ? thanks.
Beta Was this translation helpful? Give feedback.
All reactions