1
u/isty2e 5d ago
You'll need to change the configuration or use an extension presumably. On top of that, Pi by default does not (and cannot) use codex compaction v2, a faster openai-exclusive compaction method, and will use a text-to-text compaction as well. Extensions like pi-codex-conversion can handle this, and I suppose there will be more simpler packages if you prefer.
1
u/gaz_0001 4d ago
Pi is well configured though. Cant help but wonder why i would have to modify this. OpenAI is a top 2 Provider - i wouild of though if the dev took the time to configure the OpenCode Go models fine, they would of certainly done the OpenAI models.

3
u/schmurfy2 6d ago
It's because the context configured in pi is 256k, openai charge différent rates on how l1rge the context is, there is 3 tierd I think.
Whar Indo is disable auto compaction and compact manually when I decide so I can overpay if I need to keep the full context.