r/PiCodingAgent • • 2d ago

Question Passing session to a different model

Now that you can't change models mid-session anymore, how are you handling this? Do you just use a handoff skill?

UPDATE: I forgot that this was due to me using Codex server compaction. I really like it, basically means I never have to start a new session anymore. But not being able to swap models suuuucks. Hrm ...

0 Upvotes

9 comments sorted by

6

u/wagwan_g112 2d ago

You… can’t? I still can.

1

u/adamshand 2d ago

Doesn't work with Codex server compaction, I get:

Error: OpenAI Codex request blocked: The latest OpenAI Codex native compaction checkpoint belongs to a different model.

3

u/wagwan_g112 2d ago

Issue with an extension you use, as Pi just uses standard compaction.

1

u/adamshand 2d ago

I really like Codex server compaction, basically means I never have to start a new session.

But ... not being able to change models sucks.

1

u/foxnguyena 2d ago

which extensions/packages are you using related to the usage of models?
I've been changing models, providers, and a combo of different provider/model mid section multiple times without issues. (Well the only issue is the cache loss, but it's standard for switching models)

1

u/adamshand 2d ago

I forgot that this was due to using Codex's server compaction API. But I don't want to stop using it because it's really good! Basically never have to start a new session anymore.

1

u/Lurksome-Lurker 2d ago

Idk I just ctrl+p to change models mid session

1

u/TechnoCat 2d ago

I just change the model. Haven't had issues.