Sample chat code works fine locally; getting this error when deployed to Vercel:
llama-98079bc32b437141.js:1 Uncaught (in promise) Error: Server error: A server error has occurred
FUNCTION_INVOCATION_FAILED
at llama-98079bc32b437141.js:1:7882
at l (main-1a90909837c5cc42.js:1:2020)
at Generator._invoke (main-1a90909837c5cc42.js:1:1808)
at P.forEach.e.<computed> [as next] (main-1a90909837c5cc42.js:1:2443)
at v (llama-98079bc32b437141.js:1:4641)
at o (llama-98079bc32b437141.js:1:4844)
Sample chat code works fine locally; getting this error when deployed to Vercel:
llama-98079bc32b437141.js:1 Uncaught (in promise) Error: Server error: A server error has occurred
FUNCTION_INVOCATION_FAILED