#The model hit an error
70 messages · Page 1 of 1 (latest)
hi. are you using "Auto" mode or did you pick a particular model?
@signal cradle I'm having this issue too. I've tried dozens of times, with Auto, Anthropic, and GPT-4.1. Doesn't seem to matter what prompt I give it (I've tried 3 different ones). I'm stuck and cannot proceed. Could it be that I've exceeded the context window? There's a lot of prior work in there.
Maybe. We'll dig into the errors on our side to see what's up and ship more fixes this week.
Yes, I have the same issue. I tried many times. I changes API keys many times too. But, still the error.
I want to participate in the hackthon, but due to that error, I am unable to develop the web app.
Could the hackathon deadline be extended please?
I guess it's the related but I face this error the moment I want to use an own API key, in my case for Gemini 2.5. Saving the API key works, so does the API key (tested with another service) but in the chat I receive:
"The model hit an error. Try sending your message again."
Here are some more details @signal cradle:
-
Frontend Error:
Error: Failed to process successful response- Location:
StreamingIndicator.tsxandindex.mjs:1127 - Retried 1+ times with same result.
-
Network Request:
- URL:
GET https://little-cuttlefish-93.convex.cloud/api/check_admin_key - Status:
404 Not Found - Request Headers: included
authorization(token present but not logged) - Response Body: empty
- Referrer:
https://dashboard-embedded.convex.dev
- URL:
-
Timing Observations:
- Convex container boot took ~355s before reaching
READYstate.
- Convex container boot took ~355s before reaching
-
Browser/Environment:
- Browser: Chrome 135.0.0.0
- OS: macOS 10.15.7
I have the same issue, could this be fixed by creating the Credentials in the Gemini API ?
Testing the Gemini API locally seems to work, but the Error you describe suggest that it could be related?
I am getting the same issues on Gemini, Antropic and Auto
On the chat request to https://chef.convex.dev/api/chat
I am getting:
3:"Failed to process successful response"
I have the same issue using Gemini
hi! sorry about this issue. we identified a bug on our side and will have a fix out in the next few hours.
thanks for your patience, the fix is out now! let us know if you have any more issues.
With Gemini, it now often generates && instead of &&
@gaunt zephyr I can confirm that the reported bug in specific is now resolved, thanks! (only tried for gemini 2.5)
I'm on auto mode and still getting the issue
first it generates the code and then runs the typescript and when it fails it immediately just shows this error
I'm also getting this:
just empty response.
happens multiple times to me
on auto and on gpt 4.1 and gemeni
yeah for me as well, couldn't use throughout the day :((
it's literally removing existing code and leaving comment "existing code remains unchanged" 🤣
I don't know what is happening, but I guess you guys probably broke something in Chef 😦
hi! can you please explain your issue a bit more? are you running into the error or seeing the empty message?
have you tried rewinding and using a slightly different prompt?
Hey Jordan!
I'm actually getting both, but constantly getting an error message
Noticed getting error message only after Typecheck fails, got empty message just randomly few times in a row, but error always after Typecheck fails, and as you could notice Typecheck will always fail since it's strangely updating existing files (assuming it's not changing existing code but in fact completely removing them)
and yes, I'm rewinding and tried to use different prompt but it's not helping
have you tried reloading the page? we released a fix for the reloading error on friday and you may not be running the latest version of chef.
there is also another known issue with overwriting old files incorrectly. i will chat with my coworker on monday.
i am seeing this as well, and i have a hunch. each chat is tied to a single project that chef creates in the convex dashboard. and each chat has a model context limit. if we could have multiple chats per project that might change this? seems similar to what i was dealing with in v0, each chat would create a whole new project and completely replace any code that was written beforehand. i could be wrong on how this is working in chef, ive only been using it for a few days.
yes, didn't help unfortunately!
hi! i haven't been able to reproduce the issue you've been seeing. i'm going to DM you to get a few more details so we can get you unblocked.
hey ive been getting this error since yesterday night UK time. still having same issue after failed typecheck. any ideas folks. tried reloading and all.
sorry about your issue. is there any chance you have a really long chat history?
Yes the chat history is quite long
Got lots of days of work in there😭
okay, this is a bug on our side. we are investigating now. to unblock you for the moment, can you try using gemini 2.5 in the model dropdown? this should get things working for you.
any chance will cause issue with the codebase from the auto model?
no
Thanks Jordan mate, I'll try switching to Gemini
Just out of curiosity, what model does it prioritise when its set on auto?
claude 3.5 sonnet. you can check out this article if you want to learn a little more about our choice
also, let me know if the workaround fixes things for you
seems like it's working. Can you pls post here when you guys push a hotfix for auto model. Cheers mate
I have been encountering this same error for some days now
[ERROR] [Chat] Request failed (retries: {"numFailures":0,"nextRetry":1747054487046}) Error: Overloaded
at onErrorPart (index.mjs:1127:13)
at WG (index.mjs:826:49)
at async $G (index.mjs:932:3)
at async YG (index.mjs:1244:7)
at async index.mjs:306:9 undefined
3StreamingIndicator.tsx:133 Error: Overloaded
at onErrorPart (index.mjs:1127:13)
at WG (index.mjs:826:49)
at async $G (index.mjs:932:3)
at async YG (index.mjs:1244:7)
at async index.mjs:306:9
This is the log in the console when the error happens @gaunt zephyr
Anthropic returned an error (400 Bad Request) when using your provided API key: {"type":"error","error":{"type":"invalid_request_error","message":"prompt is too long: 211763 tokens > 200000 maximum"}}
this error will go away when you retry. did you resend your message?
this is a known issue and we are working on a fix today. try using gemini 2.5 pro.
i did and it says Google is rate limiting your requests
are you using your own api keys?
yes, i ran out of chef tokens a few days ago
I just resent and it’s still the same error as before
Does refreshing the page and then sending a message work?
We just released chef with a fix - let us know if you're still seeing this issue! Thanks for your patience and feedback
came back to try chef again, still getting the error. and gemini wont work at all, they are limiting all pro requests. can we use flash somehow? im using api keys
hey I'm getting model error again since this morning. using gemini @gaunt zephyr any ideas mate? //The model hit an error. Try sending your message again.//
prob issue is with Gemini other models are working fine
using my anthropic api key i still see the error
is this all on one project, or on any project?
Hi, I get this same erorr even with switching to gemini. Just using your tokens. Chat is not that long. After runing out of free tokens I have purchased the plan to get more and it got stuck.
Ok so it seems like I fixed my issue. I have changed the team slug in the Convex dashboard team settings before and the Chef project still had the old team slug. After changing the team slug back to original it seems to be working.
on the same project. Gemini still gives the model hit error message
hi! sorry you are running into this issue. can you please dm me share link to your project? i can investigate this.
jordan mate its working now.
let us make a new chat without having to make a whole new project please! if i could just start a new chat i think it would solve this issue ❤️
we are actively working on this. thanks for your feedback!
I am getting this constantly. I then reload the page, and able to continue. I am using a lot of chef tokens which I am okay with as I am making progress.
hi! we are currently investigating this issue. thanks for reporting it.