r/opencodeCLI • • Oct 26 '26

One response: a compaction, then told I'd used all my credits!

Thanks opencode!

0 Upvotes

10 comments sorted by

6

u/torrso Oct 26 '26

What the heck kind of prompt you use to cause compaction on first request?

1

u/Deep_Imagination_811 Oct 26 '26

mid-way through a session. new day, one question with a short response, then compaction from before.

1

u/torrso Oct 26 '26

Ok, isn't that a bit of self inflicted then? You're framing it in the opening as getting compacted after one prompt but in reality it's a whole ass session from before that had its cache invalidated already.

1

u/Deep_Imagination_811 Oct 26 '26

the session from the day before that hadn't been touched that day.

1

u/torrso Oct 26 '26

Yep, so there was a bunch of context in that session that was sent as a new round. If it decided to compact, that's thel likely something like 500k-1M tokens.

8

u/CrypticViper_ Oct 26 '26

thanks for providing zero context at all and blaming opencode for it

6

u/Specialist_Garden_98 Oct 26 '26

The one "response" could have been "Build GTA 6, don't stop till you are done, no mistakes" but hey its OpenCode's fault I guess based on this zero context post.

1

u/torrso Oct 26 '26

They explained in a response to me that it was a session from previous day that they continued. "One response" my ass.

1

u/sirloindenial Oct 26 '26

I wish i had the reason to actually fill 1 million context at first prompt