replicate / llama-chat

A boilerplate for creating a Llama 3 chat app
https://llama3.replicate.dev
Apache License 2.0
765 stars 289 forks source link

[Bug] Function invocation error when deployed to Vercel #45

Open deboboy opened 9 months ago

deboboy commented 9 months ago

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)