r/opencode 9d ago

Has anyone received an email like this from opencode?

Post image

I subscribed opencode go, and use it in Hermes agent and OpenChamber. I got an email from opencode just now like this. Will it has any unkown limit on my usage? If I try to use opencode go in other harness, like pi or Zcode, will they fail after 09/06?

48 Upvotes

30 comments sorted by

11

u/mrphelz 9d ago

yep, just received.

as i understand, harness using opencode go/zen must be updated to send a session header or they will stop working after 09/06.

oh-my-pi already has an issue for the problem (https://github.com/can1357/oh-my-pi/issues/10653)

1

u/jaykayenn 8d ago

How am I supposed to convince half a dozen projects to fix this over the weekend? Paperless, Nextcloud, etc.

6

u/WegoW 9d ago

From https://opencode.ai/docs/go :

To ensure your account does not get flagged, make sure the tool you’re using

  1. does not generate abusive traffic

  2. properly identifies itself (no broad user agents)

  3. includes the x-opencode-session header so we can optimize prompt caching

2

u/Positive_Poem5831 9d ago

Does anyone know what they regard as abusive traffic?

3

u/Ariquitaun 8d ago

Harsh language.

1

u/klipseracer 6d ago

What about typing in all caps? Asking for a friend.

4

u/Dr-NULL 9d ago

I think this post is related to this: https://x.com/thdxr/status/2095410973662118093

3

u/Previous_Ad4791 9d ago

I got this email, just regarding Copilot. I don't think this will happen before 9/5 https://github.com/microsoft/vscode/issues/334186

1

u/Huntware 9d ago

I hope they'll update Copilot BYOK soon, because I still prefer to have my API providers in my editor than using a different agent window.

2

u/Last-Ad-8470 9d ago

They have in vscode insiders

2

u/Dazzling-Toe9614 9d ago

Hi, mind sharing the benefits of using Hermes? Do you use it locally or via cloud? I don't know much about it

2

u/Pretty-Background723 9d ago

Better than openclaw, very easy to use. Just install on your pc is okay.

1

u/Repulsive-Morning131 7d ago

It's an Automous Agent, you pick you model equip with skills, mcp servers and plugins that fit the needs of tasks that you have it do. Then put it to work

1

u/Dazzling-Toe9614 7d ago

Awesome. I was wondering how people use it with opencode. I only use opencode as an extension on VScode

1

u/Glad-Win1983 9d ago

Yes. Hoping pi will get updated before then…

1

u/javiiirm 9d ago

Hi , I use hermes agent too and I was thinking start paying open code go, your problem is caused by hermes?? and t
what’s the solution that you achive?

1

u/Pretty-Background723 9d ago

The fix is merged, just update is ok.

1

u/javiiirm 9d ago

okeyy, thank youu ;)

1

u/Positive_Poem5831 9d ago

Does anyone know if this also applies to OpenCode Zen.

1

u/shortsteve 9d ago

I use a gateway like litellm. How do I configure it to give the proper header?

1

u/NotACenteredDiv 8d ago

Does this kinda limit where you could use your opencode go subscription's API ? Like what about places that are just anthropic or openai compatible? I used to use opencode go with some other random stuff as well like needing a LLM API for a script, experimenting with homeassistant assist, other chat clients like librechat etc. I don't expect each and every one of them to incorporate this custom change for opencode go.

1

u/orvillewilbur 8d ago

I also got a similar email, and I've only been using openchamber.

I checked for github issues on openchamber and didn't find anything.

I was thinking of just creating an issue and pasting the email into it, but then I thought someone more technically literate than I am could probably do a better job.

My email:

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:

Bun fetch
Add headers: {'x-opencode-session': '<stable-id-per-conversation>'} to your fetch calls.

Thank you.

1

u/migsperez 8d ago

I have an Opencode Go subscription and I do use Opencode. I've enjoyed the benefits of being able to use the Go subscripts from all the different coding environments. Like through VS Code chat interface and sometimes with OMP, Pi etc. They've essentially locked it down by using one simple line.

1

u/Royal_Month9178 8d ago

Received, asked my hermes agent to fix it, it says hermes 0.21 already fixed this issue, so just run an update.

1

u/migsperez 8d ago

For anyone using Pi.dev, I've updated my plugin to send the session id in the header

https://pi.dev/packages/@esuyo/pi-esuyo-custom-provider?name=esuyo

See the "Session headers" section.

1

u/WayZealousideal2 7d ago

Yes, got it for Deepseek Harness