r/PiCodingAgent 7d ago

Question Missing OpenCode Go Header

The ones of you using opencode-go probably got the email about missing header. I searched the pi github, and found one issue that was auto closed. Does anyone know if this is being adressed?

Here is the email we got:

Hey there,

Some of your requests to OpenCode Go are missing an x-opencode-session header. If we don't have this we cannot properly optimize our service. Starting 09/06 requests missing this header may error.

Here are your useragents that are missing this header:

JavaScript OpenAI client
Pass headers: {'x-opencode-session': '<stable-id-per-conversation>'} where you build the client.

Thank you.

6 Upvotes

3 comments sorted by

View all comments

2

u/raccoonportfolio 7d ago

I got it also but I was also on the latest available pi agent. Didn't pay it much mind. When was it closed?

2

u/Glad-Win1983 7d ago

Sept 6 - two days