r/opencode • • 27d ago

CRAZY things are brewing

Post image
1.4k Upvotes

210 comments sorted by

View all comments

0

u/[deleted] 27d ago

[deleted] — view deleted comment

2

u/letuslisp 27d ago

If you are using pi, you could keep the cache alive with requests every 4 min using extensions. But not yet tried myself.

0

u/[deleted] 27d ago

[deleted] — view deleted comment

4

u/letuslisp 27d ago

The good thing with pi is you can write extensions which do exactly what you want. And you can use any model to write them.

So you could write something like:

I am using deepseek through opencode(-go) which has a very short cache alive time. There exist extensions in the pi harness I am using which help keeping cache alive and optimize the context for cache hits. Can you use them to write me a minimal, fast pi-extension, that keeps cache alive during a session and optimizes the cache? Ask me questions when decisions are to be made.

4

u/PerfectReflection155 26d ago

If you look at the token usage open code vs pi. I think you will see it’s worth the switch. I would reccomend pi chamber. Or if you don’t need or care about that nicer ui experience you might want to check out pi bolt.

2

u/letuslisp 26d ago

I find oh-my-pi interesting (written in Rust). pi itself is written in TypeScript.

2

u/letuslisp 27d ago

But it is absolutely true. DS without cache is soooo much more expensive ... they should keep cache alive like DS does. But no they will do just some stupid calculation and ecpect nobody realizes their fake statements.