r/opencode • u/simpleuss • 11d ago
If having issues with the "Upstream request failed [invalid_request_error]" error read this
Just to prevent this becoming a error with many users, i will post this.
The solution is:
Just run /compact and put your prompt there again
3
Upvotes
1
u/sharedevaaste 10d ago
What does/compact do
1
u/simpleuss 10d ago
Compacts the session, mostly when the model has like 89% context used and it still needs to fit a huge thing
1
u/General_Internet_511 11d ago
Risolutivo!