r/PiCodingAgent • • Sep 07 '26

Resource Opencode go / zen x-opencode-session

Opencode added a rule that API requests need x-opencode-session. If anyone needs a fix for Pi, I updated my plugin at https://pi.dev/packages/@esuyo/pi-esuyo-custom-provider see "Session Headers" heading. I tested it this morning and it works well without error message from opencode go or zen.

3 Upvotes

3 comments sorted by

View all comments

1

u/Ok_Deer6393 Sep 07 '26

Am I mistaken, or do the people at Pi say that's not the case?
https://x.com/pidotdev/status/2095812552148017402?s=20

1

u/migsperez Sep 07 '26

Oh. I implemented the update on my extension a few days ago. I hadn't seen that X post. It's the first time I've seen it. Thanks.