eyetech
CDCloudflare Developers
•Created by eyetech on 9/30/2024 in #workers-help
Reaching 1MB size limit with nextjs on workers
Hey community / cloudflare team, im trying the new next.js on workers approach (opennext adapter) instead of using next-on-pages but im getting size limit error
Of course im using the free plan, but the app is quite simple, I was not expecting getting this too earlier. Any tip? thank you!
2 replies
CDCloudflare Developers
•Created by eyetech on 4/12/2024 in #workers-help
Workers AI: getting internal server error
When doing the following call
const res = await ai.run('@cf/mistral/mistral-7b-instruct-v0.1', { messages, max_tokens: 1000 });
return c.json({ res })
I'm getting InferenceUpstreamError, httpCode: 504. Any ideas, if i run with the default tokens size (not specifying max_tokens) it seems to work. Btw, running this locally.1 replies